How to embed a waitbar in a specified figure?

4 views (last 30 days)
How to embed a waitbar in a specified figure?

Accepted Answer

Walter Roberson
Walter Roberson on 21 Feb 2013
You can pass a handle to waitbar() as the first parameter. It must be of an graphics object for which getappdata(TheHandle, 'TMWWaitbar_handles') returns a structure with five fields of the proper internal names. The internal work of doing the update is hidden in a p-coded file, so I cannot tell at the moment if you could create a false environment (such as a uipanel) or not.
If you have not created the false environment, then there is no option or code path in waitbar() that would allow you to use an existing non-waitbar instead of it creating a new figure.

More Answers (0)

Categories

Find more on Dialog Boxes in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!