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일

0 개 추천

The command figure(FigureHandle) moves the figure to the top, if FigureHandle is an existing figure.

댓글 수: 3

So, let me get this straight... It would be
h = somerandomfigure
figure(h)
I am trying to make this functional programmatically.
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일

0 개 추천

How about
uiwait(warndlg(yourMessage));

댓글 수: 2

Tamfor Dulin
Tamfor Dulin 2015년 8월 22일
Well I would like to make my own custom created figure to pop up
Image Analyst
Image Analyst 2015년 8월 24일
Tamfor: See the video tutorials on GUIDE: http://blogs.mathworks.com/videos/category/gui-or-guide/

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

태그

질문:

2015년 8월 22일

댓글:

2015년 8월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by