필터 지우기
필터 지우기

Matlab App freezing unexplicably

조회 수: 13 (최근 30일)
JeanN
JeanN 2020년 8월 12일
답변: PADMAKAR 2021년 10월 12일
I have inherited the maintanenance of a Matlab app (done with 2019b) from a person who has in the meantime left the company.
It is a rather simple app that takes in some user input data, does some calculations, produces a couple of plots and statistics in different tabs.
Unfortunately the app freezes after running its calculations and showing the plots and I do not get any error message.
More details on the behaviour:
  1. When I put a breakpoint in the 'code view' of the *.mlapp file, and repeatedly run every line with F10, I manage to run through the whole app until the end, without any problems. The GUI is responsive, I click on the different fields.
  2. However, when I run the app by right clicking the *.mlapp file and selecting "Run", the app opens, does the calculations and produces the result. However, it also freezes after that, I cannot click anywhere or change any field. The 'Tab' components are all grayed out and I cannot switch between them.
I would appreciate any help, I am fairly new to Matlab and I don't know how to even start debugging this behaviour. (In particular since everything works fine if I do run the debugger on it, line by line)
Thanks

답변 (2개)

Victor R
Victor R 2021년 4월 20일
I am having the same issue on 2021a, not sure if this will provide visibility to this question...

PADMAKAR
PADMAKAR 2021년 10월 12일
I am having the same issue with Matlab App Designer Window Freezing. It was working OK till the lines of code increased and now I have to close the GUI to be able to stop the run and remove the breakpoints.
Matlab R2021a

카테고리

Help CenterFile 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!

Translated by