Figure that pop up when requested.

1 次查看(过去 30 天)
Pretty much a figure that pop up like a warning dialog when needed. For example if I press a button and the figure is already open somewhere, the figure should pop up again.

采纳的回答

Jan
Jan 2015-8-22
The command figure(FigureHandle) moves the figure to the top, if FigureHandle is an existing figure.
  3 个评论
Walter Roberson
Walter Roberson 2015-8-22
Yes, especially when h was stored some time before using figure()
Walter Roberson
Walter Roberson 2015-8-22
You might want to check whether the handle is still a figure by using ishandle() -- or better yet if you are using a new enough version, isgraphics()

请先登录,再进行评论。

更多回答(1 个)

Image Analyst
Image Analyst 2015-8-22
How about
uiwait(warndlg(yourMessage));

类别

Help CenterFile Exchange 中查找有关 Graphics Object Programming 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by