How to save an image run time with a title?
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Walter Roberson
2016 年 8 月 4 日
編集済み: Walter Roberson
2016 年 8 月 4 日
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 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!