Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 6th, 2012  |  syntax: None  |  size: 0.26 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How do I know if Matlab is busy when using GUIs?
  2. for i = 1:100000
  3.   a = i+i;
  4.   disp(a);
  5. end
  6.        
  7. ...
  8. statusbar(0, 'Busy...');  %# Set the status message
  9. test;                     %# Run your function/script
  10. statusbar(0, '');         %# Clear the status message
  11. ...