MATLAB Answers

Matlab App Designer editor is very slow

47 views (last 30 days)
Robin L.
Robin L. on 2 May 2019
Commented: Ajay Kumar on 3 Oct 2019
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 ?


Robin L.
Robin L. on 2 May 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 on 3 Oct 2019
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 then in separate .m files and use function calling in designer script.
This makes app designer more efficient.

Sign in to comment.

Answers (0)

Sign in to answer this question.