Why do I receive Error loading .mlapp?

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?

 Respuesta aceptada

Cris LaPierre
Cris LaPierre el 20 de Abr. de 2022

0 votos

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 comentario

Norman Riedel
Norman Riedel el 21 de Abr. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Productos

Versión

R2022a

Preguntada:

el 20 de Abr. de 2022

Comentada:

el 21 de Abr. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by