waitbar2a(x, whichbar, varargin)
Version 1.1.0.0 (14.8 KB) by
Ross Hatton
Progress bar (waitbar) that can be embedded into a GUI uipanel element and/or decremented.
The standard WAITBAR function (and the improved WAITBAR2 function, which this code is based on) must appear in their own figure windows, and cannot be embedded into a GUI.
WAITBAR2A is a drop-in replacement for either of the earlier functions, that has the additional capability to be initialized with the handle of a uipanel, in which case it draws into that uipanel rather than a new figure, and to be decremented.
Cite As
Ross Hatton (2026). waitbar2a(x, whichbar, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/23169-waitbar2a-x-whichbar-varargin), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2014b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Acknowledgements
Inspired by: Waitbar2
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
