Corrupted files .mlapp, how to restore them in Matlab R2019b?
Show older comments
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 Comments
Kojiro Saito
on 19 Dec 2019
Are you using R2019b or R2019b Update 1, 2, or 3?
Pierre Puchaud
on 19 Dec 2019
Pierre Puchaud
on 19 Dec 2019
Kojiro Saito
on 19 Dec 2019
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.
Adam Danz
on 20 Dec 2019
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.
Pierre Puchaud
on 20 Dec 2019
Adam Danz
on 20 Dec 2019
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).
Pierre Puchaud
on 6 Jan 2020
Adam Danz
on 6 Jan 2020
cherry jain
on 6 Jul 2021
I am facing the same issue. My MATLAB mlapp files are getting converted to mlapp.bak files
Answers (1)
Kavya Vuriti
on 31 Mar 2020
0 votes
Hi,
I think you could try updating R2019b with the newest available update.
Categories
Find more on Reinforcement Learning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!