Why do I receive Error loading .mlapp?

4 vues (au cours des 30 derniers jours)
Norman Riedel
Norman Riedel le 20 Avr 2022
Commenté : Norman Riedel le 21 Avr 2022
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?

Réponse acceptée

Cris LaPierre
Cris LaPierre le 20 Avr 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 commentaire
Norman Riedel
Norman Riedel le 21 Avr 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by