How to save multiple snapshots in a file?
1 回表示 (過去 30 日間)
古いコメントを表示
Hey everyone,
I have a loop within I'm doing round about 100 snapshots and mark them with a rectangle and stuff like that.
Is it possible to save the marked snapshots listed in one file or to create for every start of the program a new folder in which the images are saved?
In advance Phil
0 件のコメント
回答 (1 件)
Walter Roberson
2016 年 4 月 20 日
basefolder = pwd();
folder_to_save_in = tempname(basefolder);
mkdir(folder_to_save_in);
It is also possible to save all in one file, with some of the image formats. In particular see http://www.mathworks.com/help/matlab/ref/imwrite.html#btwmoig-1
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!