How can I delay a figure window?

Hey out there! I have two figure windows, but I want the second to open when the first i closed, and not on the same time. How can I do this? I have tried uiwait, but the figures I want to show is an image and an image scale Can you help me?:)

回答 (2 件)

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 3 月 30 日
編集済み: Azzi Abdelmalek 2016 年 3 月 30 日

0 投票

use pause(n) , n is the number of seconds

2 件のコメント

Sine  Palm
Sine Palm 2016 年 3 月 30 日
Thanks a lot! Do you also know how to close the figure window after it have been shown in n seconds?
Walter Roberson
Walter Roberson 2016 年 3 月 30 日
after the pause(), close() the window.

サインインしてコメントする。

Walter Roberson
Walter Roberson 2016 年 3 月 30 日

0 投票

Create the second window but set 'visible' 'off' for it. Then uiwait() for the first figure. Then set the visible to on for the second figure.

カテゴリ

ヘルプ センター および File ExchangePrinting and Saving についてさらに検索

タグ

質問済み:

2016 年 3 月 30 日

回答済み:

2016 年 3 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by