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 CenterFile Exchange에서 Develop 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