Matlab Desktop Editor State Data Lost
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!