Effacer les filtres
Effacer les filtres

How to display only current figure

4 vues (au cours des 30 derniers jours)
Reyasudin
Reyasudin le 3 Juin 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.

Réponse acceptée

Image Analyst
Image Analyst le 3 Juin 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 commentaire
Reyasudin
Reyasudin le 3 Juin 2013
Thank you very much, this is what I want.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Object Identification dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by