Filter löschen
Filter löschen

How to save an image run time with a title?

1 Ansicht (letzte 30 Tage)
Jhilam Mukherjee
Jhilam Mukherjee am 4 Aug. 2016
Bearbeitet: Walter Roberson am 4 Aug. 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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 4 Aug. 2016
Bearbeitet: Walter Roberson am 4 Aug. 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);

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by