How to kill a starved designer app

조회 수: 2 (최근 30일)
Waldemar
Waldemar 2020년 9월 17일
댓글: Mario Malic 2020년 10월 30일
Hi folx,
I'm writing an application using app designer (moved to designer from guide I used in previous projects).
My problem is, that during development I have of course many bugs in the beginning, but some of them causes the app to starve. It is not possible to use a standard close(figure) but it is also not posible to close the window. CTRL-C or CTRL-Break also do nothing. The only solution is to restart matlab (after 20+ seconds of delay).
Thanks for any hints

채택된 답변

Mario Malic
Mario Malic 2020년 9월 17일
편집: Mario Malic 2020년 10월 29일
Updated
Note, this closes all figures
close(findall(0, 'type', 'figure'));
  댓글 수: 8
Waldemar
Waldemar 2020년 10월 30일
Sorry, I missed this. There is no reaction on Ctrl+C or enter. There is a new line on enter, but no new prompt. The only way to kill the app is to use task manager. It takes 1-2 minutes to kill the app including Matlab.
Mario Malic
Mario Malic 2020년 10월 30일
I don't understand well what are you saying here.
There is no reaction on Ctrl+C or enter. There is a new line on enter, but no new prompt.
Once again:
  • if you press ctrl+c or enter, you should see ">>" showing up with each click if MATLAB is not busy (or not responding - frozen)
  • If you press enter and only new lines are apearing, without ">>", then MATLAB is busy doing something, but not frozen. In this case ctrl+c would probably return an error
  • When your app freezes, check task manager if your MATLAB is not responding
Also, there are some unsupported functions between GUIDE and App Designer, so make sure you're using what is supported by the latter. You can also test your app on the other machine, maybe there's something wrong with yours.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Waldemar
Waldemar 2020년 10월 29일
Hi Mario,
I did not checked the RAM to be honest. I'll check it tomorrow. My data is about 50 MB in total and I do not have many programmes open but Matlab.
Thanks for your help

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by