GUI

조회 수: 1 (최근 30일)
Shree Nath
Shree Nath 2012년 6월 6일
I have programmed some calculations in my gui, so it takes some time and then displays the result. Problem is that it doesn't show anything 'BUSY' during this period.. this may sometimes lead to repetetive commands being given.
any comments?
  댓글 수: 1
Shaun VanWeelden
Shaun VanWeelden 2012년 6월 6일
I think this is what you are looking for:
http://www.mathworks.com/help/techdoc/creating_guis/bq61qtj-1.html#bq61ugk
Adjusting the busy action of your callback should get it to work. If you need more help let me know.

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

채택된 답변

Walter Roberson
Walter Roberson 2012년 6월 6일
You can use waitbar(), or you can set the figure pointer to 'watch' http://www.mathworks.com/help/techdoc/creating_plots/f5-35149.html, or you can update a graphical element and drawnow() after the update, or you can disp() or fprintf() to the command window. You can also set the Enable property of buttons and menus to 'off', or you can create modal windows.
  댓글 수: 1
Shree Nath
Shree Nath 2012년 6월 8일
wait bar worked.. thanks :)

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

추가 답변 (1개)

Pranav
Pranav 2012년 6월 6일
I too have faced the same problem. Its a problem with Matlab GUI i guess.

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by