Code and Debugging is not clickable when running the app

4 ビュー (過去 30 日間)
Julian
Julian 2023 年 12 月 8 日
回答済み: prabhat kumar sharma 2023 年 12 月 19 日
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.

回答 (1 件)

prabhat kumar sharma
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!

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by