Matlab App Designer editor is very slow

10 Ansichten (letzte 30 Tage)
Robin L.
Robin L. am 2 Mai 2019
Kommentiert: Adam Danz am 23 Mai 2021
Hello everybody !
I have been developing a software using Matlab App Designer for 2 months, and while my code grows up (~9k lines today), App Designer editor takes more and more times, even for simple tasks, like writing a piece of text, or make a line break...
I tried to untick "Enable app coding alerts", without noticing any significantly change...
I don't have choice to edit my code in another text editor and paste it in Matlab AD..., which is not convenient...
Do you guys have any idea to fix out this issue ?
  2 Kommentare
Robin L.
Robin L. am 2 Mai 2019
I think this is link to how Matlab AD works : after unzipping and analysing the files created by a new Matlab AD app, I think that each time we type something in the editor, it analyses the entire code and fills system tables containing custom functions, callbacks, 1 line = 1 case, etc... which takes time !
Is there a way to limit that ? I assume this is very safe for a novice, but frustrating for others !
Ajay Kumar
Ajay Kumar am 3 Okt. 2019
Bearbeitet: Ajay Kumar am 18 Mär. 2020
9k lines are too much in one script. I have a good suggestion.
Try to break down the designer script into some functions and write them in separate .m files and use function calling in designer script.
This makes app designer more efficient.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jared MacDonald
Jared MacDonald am 17 Apr. 2020
Hi Robin,
If possible, please update to release R2020a where this has been significantly improved. You can read more details in the MATLAB Release Notes here:
and search for "App Designer" under the Performance section of the R2020a release notes. Switching to code view, typing, entering new lines, etc., have all been improved.
Thanks,
Jared
  4 Kommentare
Javier Martín Sánchez
Javier Martín Sánchez am 23 Mai 2021
I am having exactly the same problem. I have been struggling with it for a long time and I am giving up already. In addition, I have read that GUIDE (the only one working resonably well for me) will be removed in upcoming versions. If this BIG issues cannot be solved in a resonable short time ... I am already considering switching to python.
Adam Danz
Adam Danz am 23 Mai 2021
For those people reporting similar problems, it will be helpful to include your Matlab version information.
Find your version info by typing ver into the command line.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by