Matlab Desktop Editor State Data Lost
19 views (last 30 days)
Show older comments
While trying to save a certain figure, I tried forcing the access to my file directory via the code:
x=matlab.desktop.editor.getAll;
theScriptList=[theScriptList; {x(1,1).Filename} {x(1,1).Text}];
clearvars -except theScriptList
But this apparently has deleted my dynamic Java object directory paths and now matlab only runs the file that I had open in the editor right then. No other script can be run, Matlba returns the error:
Error using matlab.internal.editor.eval.FileInfo
Java exception occurred:
java.io.IOException: java.lang.RuntimeException: Internal Exception in reading MLX file : Could not open
destination package
at com.mathworks.services.mlx.MlxFileUtils.writeCode(MlxFileUtils.java:265)
Caused by: java.lang.RuntimeException: Internal Exception in reading MLX file : Could not open destination
package
at com.mathworks.services.mlx.MlxFileUtils.nativeWriteMlxFile(Native Method)
at com.mathworks.services.mlx.MlxFileUtils.writeCode(MlxFileUtils.java:262)
Error in matlab.internal.editor.eval.TmpFilePath.get
Error in matlab.internal.editor.evaluateCode
Error in matlab.internal.editor.evaluateCode
Is there any way to recover these files or restore matlab to a state that it is able to run the scripts?
0 Comments
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!