% MULTIWAITBAR displays multiple waitbars.
% H = MULTIWAITBAR(NumAxes,StepAxes,TitleAxes)
% creates and displays a waitbars of fractional lengths StepAxes. The
% handle to the multiwaitbar figure is returned in H.
% StepAxes should be an array, length equal to number of axeses, between
% 0 and 1. TitleAxes should be a cell array,length equal to number of
% axeses, Containing messeges as the title of axeses.
%
% H = MULTIWAITBAR(NumAxes,StepAxes,TitleAxes) will set the length of
% the bars in the most recently created waitbars window to the fractional
% length StepAxes values.
%
%
% MULTIWAITBAR(NumAxes,StepAxes,TitleAxes,H) will update the messeges text in
% the multiwaitbar figure, in addition to setting the fractional
% length to StepAxeses.
%
% MULTIWAITBAR is typically used inside nested FOR loops that performs a
% lengthy computation.
%
% use delete and clear as stated below to clear the object of
% multiwaitbar figure
% delete(H.figure)
% clear('H')
%
% Example:
% H = multiwaitbar(3,[0 0 0 0],{'Please wait','Please wait','Please wait'});
% for i = 0:0.2:1
% for j = 0:0.2:1
% for k = 0:0.1:1
% multiwaitbar(3,[i j k],{'Computing','Computing','Computing'},H);
% end
% end
% end
% delete(H.figure)
% clear('H')
Cite As
Sandeep Solanki (2024). MultiWaitBar (https://www.mathworks.com/matlabcentral/fileexchange/44111-multiwaitbar), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: blockbar
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |