Code and Debugging is not clickable when running the app
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
prabhat kumar sharma
2023-12-19
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!