Code and Debugging is not clickable when running the app
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
prabhat kumar sharma
am 19 Dez. 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 Kommentare
Siehe auch
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!