How to save an image run time with a title?

2 ビュー (過去 30 日間)
Jhilam Mukherjee
Jhilam Mukherjee 2016 年 8 月 4 日
編集済み: Walter Roberson 2016 年 8 月 4 日
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.

採用された回答

Walter Roberson
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 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by