How to embed a waitbar in a specified figure?

2 次查看(过去 30 天)
How to embed a waitbar in a specified figure?

采纳的回答

Walter Roberson
Walter Roberson 2013-2-21
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dialog Boxes 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by