Figure that pop up when requested.

1 Ansicht (letzte 30 Tage)
Tamfor Dulin
Tamfor Dulin am 22 Aug. 2015
Kommentiert: Image Analyst am 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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Image Analyst
Image Analyst am 22 Aug. 2015
How about
uiwait(warndlg(yourMessage));
  2 Kommentare
Tamfor Dulin
Tamfor Dulin am 22 Aug. 2015
Well I would like to make my own custom created figure to pop up
Image Analyst
Image Analyst am 24 Aug. 2015
Tamfor: See the video tutorials on GUIDE: http://blogs.mathworks.com/videos/category/gui-or-guide/

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by