AppDesigner does not overwrite mlapp on Linux; works fine on Windows
Show older comments
Hi,
I'm trying to edit an app using App Designer on R2022b for Linux. The app has a fair number of components, but the number of lines of editable code is small (~100), since I exported all of the methods to separate m-files. I was able to do this and save the modified app using R2022a on Windows.
However, even with the much-shortened mlapp file, I cannot make changes and save it on Linux. It opens fine and I'm able to edit the code, but when I save, the interface does not show that the file is saved, and the modification time on the mlapp file does not change. Instead, a new, empty ".tmp" file gets created in the same directory. Every time I click save, a new one of these files gets created, and that's it. This screenshot shows what the app directory looks like after saving (app was last saved on Windows on the 25th):

Any ideas?
5 Comments
Kumar
on 1 Oct 2022
I am having the same issue. I have a temp work around which maynot suit your needs though...
After making the necessary edits, switch to codeview and then copy the entire code into an m-file with the same name (LOOPER.m) and rename the mlapp-file to something else. You can invoke the app by calling LOOPER in the command window.
I don't know the file format for mlapp and maybe it stores some extra metadata apart from the code, so saving it as mlapp-file is not working. Hence the m-file.
I don't remember the appdesigner to be this buggy before... I am having trouble editing the code and the properties box and stuff too, apart from the saving one you mentioned. Maybe it is a legitimate bug for linux version...
Ethan Blackwood
on 1 Oct 2022
Edited: Ethan Blackwood
on 1 Oct 2022
Richard Tennis
on 3 Oct 2022
I have the same problem on openSUSE with R2022a.
Kumar
on 7 Oct 2022
Hi Ethan, I am using R2022b on Ubuntu 22.04...
Valeria Fedeli
on 9 Nov 2022
Hi everyone, same issue on Fedora 36 with R2022b
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown 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!