필터 지우기
필터 지우기

How do I display "Busy" like that in MATLAB when simulation is running in GUI?

조회 수: 10 (최근 30일)
How do I display "Busy" like that in MATLAB when simulation is running? I need to display "BUSY" when my simulation is running in GUI and when the simulation stopped, it should show "DONE" using guide.

채택된 답변

Bruno Luong
Bruno Luong 2022년 7월 19일
편집: Bruno Luong 2022년 7월 19일
Create a static text somewhere i the GUI and set the string to "busy" before runing simumation tjen "done" once finished.
You can also set the figure 'pointer' property to 'watch' then 'arrow'.
  댓글 수: 1
Walter Roberson
Walter Roberson 2022년 7월 20일
Note: I suggest using an onCleanup() to ensure that you remove the busy status if the activity is stopped (whether by user activity or by crash.)

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

추가 답변 (1개)

Walter Roberson
Walter Roberson 2022년 7월 19일
Have you considered using waitbar()? (You are not required to update the estimated fraction complete)
waitbar() also has an alternative way of drawing the bar so that it is more like a "barber pole" rather than fraction complete. At the moment I do not recall the configuration method... I think it involves Java properties.

카테고리

Help CenterFile Exchange에서 Dialog Boxes에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by