Busy Dialog
H = BUSYBAR('message', property, value, property, value, ...) creates and displays a dialog box displaying 'message'. The handle to the waitbar figure is returned in H. Optional arguments property and value allow to set corresponding waitbar figure properties.
The dialog window is not closable, and it should be closed in the calling program by executing delete(H). As an "emergency" alternative, the dialog can be closed forcibly by pressing ctrl-c. To avoid such situation, the use of TRY-CATCH block is recommended (as shown below).
Example:
h = busybar('Please wait...','My Program');
try
% computation here %
catch
delete(h);
end
delete(h);
Cita come
Kesh Ikuma (2024). Busy Dialog (https://www.mathworks.com/matlabcentral/fileexchange/22324-busy-dialog), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.