Code and Debugging is not clickable when running the app
3 views (last 30 days)
Show older comments
HI,
I have a Matlab App and wanted to find some issues in the code.
I opend the App Designer, made some break points and startet the App.
When I clicked on a button the code run until my breakpoint but I could not click on anything in Matlab including the App Designer.
I could not make a single step, continue or just scroll in the code.
I followed this steps but nothing was usefull. I even reinstalled Matlab and now I can't even process individual lines with the debugger in "normal" Matlab.
0 Comments
Answers (1)
prabhat kumar sharma
on 19 Dec 2023
Hi Julian,
I understand you're facing issues with App Designer while debugging.
Typically, sudden app crashes can occur for various reasons, including memory leaks, which you should investigate. I suggest checking for any code segments that might be causing a memory leak or running indefinitely. Here are some steps to consider:
1. Ensure there are no non-terminating loops in your code.
2. Check if you're using any time-consuming functions that could be replaced with more optimized alternatives.
3. If you're opening files using `fopen`, make sure you are closing them properly with `fclose`.
I hope this helps!
0 Comments
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!