Figure that pop up when requested.

1 view (last 30 days)
Tamfor Dulin
Tamfor Dulin on 22 Aug 2015
Commented: Image Analyst on 24 Aug 2015
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.

Accepted Answer

Jan
Jan on 22 Aug 2015
The command figure(FigureHandle) moves the figure to the top, if FigureHandle is an existing figure.
  3 Comments
Walter Roberson
Walter Roberson on 22 Aug 2015
Yes, especially when h was stored some time before using figure()
Walter Roberson
Walter Roberson on 22 Aug 2015
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()

Sign in to comment.

More Answers (1)

Image Analyst
Image Analyst on 22 Aug 2015
How about
uiwait(warndlg(yourMessage));
  2 Comments
Tamfor Dulin
Tamfor Dulin on 22 Aug 2015
Well I would like to make my own custom created figure to pop up

Sign in to comment.

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!