MATLAB Answers

App Designer not Saving New Codes

9 views (last 30 days)
DARLINGTON ETAJE
DARLINGTON ETAJE on 4 Aug 2021
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.
  1 Comment
DARLINGTON ETAJE
DARLINGTON ETAJE on 6 Aug 2021
Thanks Shanmukha for your response. The app file itself is not large even though there are over 4000 lines of code. The simulation when it runs is large hence I bought a new laptop. Now am having to code on my old laptop where I have R2019b and then when am done, I will transfer the file to my new laptop and run the simulation with R2021.
To asnwer Walter's comments...I still prefer to use MATLAB for mathematical apps. I wonder how people create all those mathematical tricks on other platforms from scratch. For serious difficult simulation, MATLAB is still the best.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!