savefigures with filenames from a cell array
古いコメントを表示
I intend to save the figures with the names that being defined in the cell array
for e.g. as shown in the below code, the final name should be A_X_3_Y_5.bmp
vars = {'A','B','C','D','E','F'};
f=3;
g=5;
saveas(gcf, sprintf('(vars{1})_X_%3d_Y_%3d.bmp',f,g))
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Printing and Saving についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!