How to create new folder for each iteraton
조회 수: 9 (최근 30일)
이전 댓글 표시
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!