필터 지우기
필터 지우기

How to create new folder for each iteraton

조회 수: 9 (최근 30일)
Aarthi A
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

채택된 답변

JESUS DAVID ARIZA ROYETH
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
Vinay singh
Vinay singh 2019년 4월 17일
thanks brother
Hrituraj Kumar
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
kousar majeed 2019년 6월 12일
how to make a frame from video and every frame should be save in frame folder

kousar majeed
kousar majeed 2019년 6월 12일
extracting frame from video in matlab

Aarpita Sood
Aarpita Sood 2019년 8월 24일
Hi
How do I get spectrogram for 1000 .wav files and how to store the results for analysis??

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by