Filter löschen
Filter löschen

How to display only current figure

4 Ansichten (letzte 30 Tage)
Reyasudin
Reyasudin am 3 Jun. 2013
Hello,
I am currently doing some work in Matlab script (m file). It will generate a lot of figure when I run the file, but I only want it to display only the last figure.

Akzeptierte Antwort

Image Analyst
Image Analyst am 3 Jun. 2013
Then close them
h = figure;
% now close it
close h;
% Open a new one
h = figure;
% and so on.
Or just do
close all;
right before you show your last figure.
  1 Kommentar
Reyasudin
Reyasudin am 3 Jun. 2013
Thank you very much, this is what I want.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

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

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by