How to create new folder for each iteraton
9 ビュー (過去 30 日間)
古いコメントを表示
Aarthi A
2017 年 9 月 22 日
コメント済み: Hrituraj Kumar
2021 年 4 月 23 日
For each iteration i need to create new folder and save the image in that folder
0 件のコメント
採用された回答
JESUS DAVID ARIZA ROYETH
2017 年 9 月 22 日
an example:
for k=1:5 %for k=1,2,3,4,5
name=['folder' num2str(k)];%new folder name
mkdir(name)%create new folder
imwrite(rand(50,50),fullfile(name,'image.jpg'))%write random image
end
2 件のコメント
Hrituraj Kumar
2021 年 4 月 23 日
imwrite(rand(50,50),fullfile(name,'image.jpg')) is only vaild for rand.
If we need to create a plot and save then what we can do?
その他の回答 (3 件)
kousar majeed
2019 年 6 月 12 日
how to make a frame from video and every frame should be save in frame folder
0 件のコメント
Aarpita Sood
2019 年 8 月 24 日
Hi
How do I get spectrogram for 1000 .wav files and how to store the results for analysis??
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Audio and Video Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!