Whenever I load up Matlab, I keep getting this warning:
Exception in thread "Startup Class Loader": java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.mathworks.mde.desk.StartupClassLoader$LoadInfo.<init>(StartupClassLoader.java:106)
at com.mathworks.mde.desk.StartupClassLoader.createLoadInfos(StartupClassLoader.java:188)
at com.mathworks.mde.desk.StartupClassLoader.access$400(StartupClassLoader.java:25)
at com.mathworks.mde.desk.StartupClassLoader$2.run(StartupClassLoader.java:209)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: Settings file malformed or could not be loaded for "comparisons": C:\Users\alextam\AppData\Roaming\MathWorks\MATLAB\R2018b\comparisons.settings LineNum=1 ColNum=11 invalid document structure
at com.mathworks.services.settings.Setting.nativeExists(Native Method)
at com.mathworks.services.settings.SettingPath.<init>(SettingPath.java:271)
at com.mathworks.comparisons.prefs.SettingsPreferenceRetriever.getSetting(SettingsPreferenceRetriever.java:41)
at com.mathworks.comparisons.prefs.SettingsPreferenceRetriever.getValue(SettingsPreferenceRetriever.java:28)
at com.mathworks.comparisons.prefs.ComparisonPreferenceManager.getValue(ComparisonPreferenceManager.java:70)
at com.mathworks.toolbox.difflink.server.AutoStart.<clinit>(AutoStart.java:17)
... 7 more
I've noticed that in some of my apps (the Signal Analyzer), I cannot save my session or my plots. Do I have to reinstall Matlab to fix this issue?