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?:)

Antworten (2)

Azzi Abdelmalek
Azzi Abdelmalek am 30 Mär. 2016
Bearbeitet: Azzi Abdelmalek am 30 Mär. 2016

0 Stimmen

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

2 Kommentare

Sine  Palm
Sine Palm am 30 Mär. 2016
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 am 30 Mär. 2016
after the pause(), close() the window.

Melden Sie sich an, um zu kommentieren.

Walter Roberson
Walter Roberson am 30 Mär. 2016

0 Stimmen

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.

Kategorien

Mehr zu Printing and Saving finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 30 Mär. 2016

Beantwortet:

am 30 Mär. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by