matlab command prompt display this message: java.lang.IllegalArgumentException: File migratePref.txt should only contain 'T' or 'F'! at com.mathworks.services.Prefs.readMigrateFlag(Prefs.java:2196) at com.mathworks.services.Prefs.createTwoWayMapPrefsSettings(Prefs.java:375) at com.mathworks.services.Prefs.<clinit>(Prefs.java:213) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at com.mathworks.util.PostVMInit$StartupClass.init(PostVMInit.java:165) at com.mathworks.util.PostVMInit.perform(PostVMInit.java:196
Why? I check migratePref and is empty. That is why that message is shown. How do I solve this error?

 채택된 답변

Zenin Easa Panthakkalakath
Zenin Easa Panthakkalakath 2018년 9월 24일

0 개 추천

Try renaming the file C:\Users\BrendanM\AppData\Roaming\MathWorks\MATLAB\R2018a\matlabprefs.mat to something else and try again.

댓글 수: 1

hun
hun 2019년 5월 16일
Thanks for Ur solution, it works perfectly!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2018년 9월 21일

댓글:

hun
2019년 5월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by