How to save an image run time with a title?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jhilam Mukherjee
el 4 de Ag. de 2016
Editada: Walter Roberson
el 4 de Ag. de 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.
0 comentarios
Respuesta aceptada
Walter Roberson
el 4 de Ag. de 2016
Editada: Walter Roberson
el 4 de Ag. de 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);
0 comentarios
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!