how can i solv this problem please !!!

조회 수: 4 (최근 30일)
houda taybi
houda taybi 2021년 6월 18일
답변: Kautuk Raj 2024년 12월 12일
java.lang.IllegalArgumentException: File migratePref.txt should only contain 'T' or 'F'!
java.lang.IllegalArgumentException: File migratePref.txt should only contain 'T' or 'F'!
at com.mathworks.services.Prefs.readMigrateFlag(Prefs.java:2188)
at com.mathworks.services.Prefs.createTwoWayMapPrefsSettings(Prefs.java:373)
at com.mathworks.services.Prefs.<clinit>(Prefs.java:214)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at com.mathworks.util.PostVMInit$StartupClass.init(PostVMInit.java:166)
at com.mathworks.util.PostVMInit.perform(PostVMInit.java:197)
>>
  댓글 수: 1
Image Analyst
Image Analyst 2021년 6월 18일
What caused it? Yesterday As soon as I started MATLAB, I saw a bunch of Java errors in the command window but when I restarted, it didn't show them. The same thing happened later in the day.

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

답변 (1개)

Kautuk Raj
Kautuk Raj 2024년 12월 12일
The error message you are encountering indicates that the startup preferences for MATLAB are invalid or corrupt.
I suggest you try to to recreate the preferences currently in place on your system using the following article on the MATLAB Answers forum: https://www.mathworks.com/matlabcentral/answers/99625
Try following the steps outlined there, and after doing so launch MATLAB again to check if it resolves the error.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by