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?

 Respuesta aceptada

Zenin Easa Panthakkalakath
Zenin Easa Panthakkalakath el 24 de Sept. de 2018

0 votos

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

1 comentario

hun
hun el 16 de Mayo de 2019
Thanks for Ur solution, it works perfectly!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Versión

R2018a

Preguntada:

el 21 de Sept. de 2018

Comentada:

hun
el 16 de Mayo de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by