Corrupted files .mlapp, how to restore them in Matlab R2019b?

Hello,
I have created .mlapp files with matlab 2018b/2018a.
And they cannot be runned but not opened in Matlab 2019b.
Do you have any clue to modify it in matlab 2019b ?
Best Regards,
Pierre

댓글 수: 10

Are you using R2019b or R2019b Update 1, 2, or 3?
Here is the version :
MATLAB Version: 9.7.0.1261785 (R2019b) Update 3
It has also been tested with MATLAB Version: 9.7.0.1190202 (R2019b)
I've asked the update version because R2019b has a bug which make apps unable to open, but this issue was fixed in R2019b Update1.
You're using Update3, so, it might be different from this.
What happens when you open the app in an earlier version, save it as a new file, and then open the new file up in r2019b?
I have a bunch of Matlab releases available so if you attach the mlapp file I could try that process in some more recent releases prior to r2019b.
@Adam, Thank you, I've tried your tip but it didn't worked.
Here is the file .mlapp
@Kojiro, it didn't work on versions :
  • 9.7.0.1190202 (R2019b)
  • 9.7.0.1261785 (R2019b) Update 3
I may reinstall update 1 but every users of the app will have to... By the way, i'm sure to understand what i should do with the bug report.
I don't have a solution but here's what I've found.
As OP describes, the app open with appdesigner('Analysls') in r2018b and does not open in r2019b (Version: 9.7.0.1247435, Update 2). Instead, a message box appears stating that the mlapp file is corrupt.
I opened it with appdesigner('Analysls') in r2019a and it initially loaded but didn't completely load. Some of the app components didn't appear, the option to switch to code mode wasn't available, and the save button and other menu features were not enabled. When I tried to close appdesigner, the main window cleared but the App Designer window would not close. In fact, I had to close it from Windows Task Manager (matlabWindow.exe). I repeated that process in r2019a with the same results.
@Pierre Puchaud, I would avoid running this file in r2019a (or at least back it up first, which you should do anyway).
Thank you for your advice.
Do you think there is a way to modify or convert the file in anyway that it could be modify in Matlab 2019 ?
I would contact technical support with this issue and provide them with the link to this thread.
I am facing the same issue. My MATLAB mlapp files are getting converted to mlapp.bak files

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

답변 (1개)

Kavya Vuriti
Kavya Vuriti 2020년 3월 31일

0 개 추천

Hi,
I think you could try updating R2019b with the newest available update.

제품

릴리스

R2019b

질문:

2019년 12월 18일

댓글:

2021년 7월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by