Matlab Desktop Editor State Data Lost
19 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!