MATLAB Answers

migratePref.txt problem

14 views (last 30 days)
matlab command prompt display this message: java.lang.IllegalArgumentException: File migratePref.txt should only contain 'T' or 'F'! at at at<clinit>( at java.lang.Class.forName0(Native Method) at java.lang.Class.forName( at com.mathworks.util.PostVMInit$StartupClass.init( at com.mathworks.util.PostVMInit.perform(
Why? I check migratePref and is empty. That is why that message is shown. How do I solve this error?

Accepted Answer

Zenin Easa Panthakkalakath
Try renaming the file C:\Users\BrendanM\AppData\Roaming\MathWorks\MATLAB\R2018a\matlabprefs.mat to something else and try again.
  1 Comment
hun on 16 May 2019
Thanks for Ur solution, it works perfectly!

Sign in to comment.

More Answers (0)




Community Treasure Hunt

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

Start Hunting!