Filter löschen
Filter löschen

GUI

1 Ansicht (letzte 30 Tage)
Shree Nath
Shree Nath am 6 Jun. 2012
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 Kommentar
Shaun VanWeelden
Shaun VanWeelden am 6 Jun. 2012
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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 6 Jun. 2012
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 Kommentar
Shree Nath
Shree Nath am 8 Jun. 2012
wait bar worked.. thanks :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Pranav
Pranav am 6 Jun. 2012
I too have faced the same problem. Its a problem with Matlab GUI i guess.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by