Why do I receive Error loading .mlapp?

5 visualizzazioni (ultimi 30 giorni)
I worked on my app code online when the internet crashed while saving. A .bak-file appeared which I accidently renamed to a .m-File. I cannot open my app at all. Following error codes appear in the command window:
Error using which
"\\filepath": Can't open file.
Error in run (line 55)
pathscript = evalin('caller', strcat('which(''', script, ''')'));
How can I restore my mlapp-File?

Risposta accettata

Cris LaPierre
Cris LaPierre il 20 Apr 2022
Try looking in your MATLAB Drive deleted files folder (https://drive.matlab.com/trash/). If there is a backup file there, restore it, then, if necessary, change the extension to .mlapp.
If that doesn't work, I suggest contacting support. Share your corrupted file with them and explain what happened and they may be able to recover it for you.
  1 Commento
Norman Riedel
Norman Riedel il 21 Apr 2022
Thanks for the advises! I did not work on matlab drive, but on a local server. Probably not the best idea.. But I could partly solve the problem by restoring a previous version of the file using windows restoring functionalities. Most of the code is restored, so i would say problem solved.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by