MATLAB Answers

App Designer not Saving New Codes

17 views (last 30 days)
DARLINGTON ETAJE
DARLINGTON ETAJE on 4 Aug 2021
Commented: Thilina Gunawardhana about 14 hours ago
Hello Everyone,
My app designer is not saving new codes....It shows the * sign and when I save, it does not save the new code. I then have to shut down sometimes and the code still remains like the old code without the new code...Please advise me on what to do.
Cheers
  9 Comments
Walter Roberson
Walter Roberson on 6 Aug 2021
You will probably need to create a support case for this.
I myself almost never use App Designer at all, and I only use matlab on Windows to check compatibility, not to do development.... so I do not have the experience to make any suggestions.

Sign in to comment.

Answers (1)

Shanmukha Voggu
Shanmukha Voggu on 6 Aug 2021
Hi DARLINGTON ETAJE,
We are investigating the sources for the cause of not saving new code and even some times the save may be delayed especially for large files
The reasons may be
- If the app is large then tab completion in large files can delay the save
- Parsing the contents of the file to fill in App Designer's Code Browser
The team is investigating other sources as it appears there are more causes for this than just the two above and may be fixed in future releases
I recommend splitting out some logic from the main MLAPP into external M-files to reduce the size of the app.
  2 Comments
Thilina Gunawardhana
Thilina Gunawardhana about 14 hours ago
Hi Shanmukha,
I can confirm this happening to me too. I wanted to edit an app whihc one of ex-colleagues had written using Matlab 2019b or earlier. I used 2021a because that's the latest version on my computer. App Designer was taking forever to save and wouldn't save even after 30 minutes.
However, I have installed the prerelease version of 2021b. Things have got a bit better. It saves, after taking a couple of minutes though, like 5 minutes.
Would like to see this improved in the full release of 2021b.
Thank you!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!