Effacer les filtres
Effacer les filtres

How to save an image run time with a title?

1 vue (au cours des 30 derniers jours)
Jhilam Mukherjee
Jhilam Mukherjee le 4 Août 2016
My program gives some output images using some loops and is capable to store output images in run time. However, I want to save the image with a title containing the value of loop variable without displaying it. How it will be possible.

Réponse acceptée

Walter Roberson
Walter Roberson le 4 Août 2016
Modifié(e) : Walter Roberson le 4 Août 2016
title( sprintf('The value of the variable as %g', LoopVariableNameGoesHere) )
Or perhaps you mean something like
filename = sprintf('QZT32_P%03d.png', LoopVariableNameGoesHere);
imwrite(YourImageData, filename);

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by