Why do I receive Error loading .mlapp?

조회 수: 4 (최근 30일)
Norman Riedel
Norman Riedel 2022년 4월 20일
댓글: Norman Riedel 2022년 4월 21일
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?

채택된 답변

Cris LaPierre
Cris LaPierre 2022년 4월 20일
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
Norman Riedel
Norman Riedel 2022년 4월 21일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by