MATLAB Answers

App designer keeps crashing when using debug mode. My computer? Or app designer bugs?

20 views (last 30 days)
Kris Hoffman
Kris Hoffman on 7 Aug 2018
Answered: Steven Lord on 18 Aug 2020
I’m currently using app designer to build an app that’s about 1000 lines. However, app designer/Matlab constantly crashes. I’m running a 2014 MacBook Pro retina 8Gb ram, 2.6GHz i5. I know it’s old, but it runs other (longer) Matlab scripts just fine. Though I’m sure the way Matlab and app designer store information may differ.

Answers (2)

Reto Christen
Reto Christen on 11 Apr 2019
Hi Kris,
can you tell us which exact Matlab Release you are using? I had similar problems with R2017a/b, but R2018b runs quite well for me now (I have also some apps with around 1000 lines).
Anyway, if possible, it is always good to keep your code below 1000 lines since App Designer has some known issues (I have read an article about that from Mathworks but can't find it now). Disabling the "app coding alerts" (Editor > View) can extend this to 1500 lines, but that is not a solution in debug mode.
  2 Comments
Reto Christen
Reto Christen on 18 Aug 2020
Hi Arturo,
I fear AppDesigner is limited in its capability. I had similar problems with larger Apps.
I tried to load several Apps after each other in order to achieve the same as you did. I came to the same conclusion; AppDesigner is too limited for that.

Sign in to comment.


Steven Lord
Steven Lord on 18 Aug 2020
If MATLAB crashes when you are using App Designer, please send those crash log files to MathWorks for investigation. You can send the log files to MathWorks either by clicking Send in the MathWorks Crash Reporter dialog or by locating the crash log file (likely in your tempdir) and following the instructions at the end of the log file.
As much information as you can provide about what you were doing when MATLAB crashed can help us more quickly determine the cause of the crash (and hopefully be able to provide you with a solution or a workaround.)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!