How to create multiple folders

조회 수: 7 (최근 30일)
Eugenio Abela
Eugenio Abela 2012년 9월 11일
댓글: mukesh roy 2018년 8월 14일
Hi MATLAB Users,
being a newbie, I have a quite basic question: I want to create multiple folders using the same naming convention (i.e. s_number_date, where s stands for 'subject' and is not changed). Since I have quite a large sample, it's too onerous to do by hand.
Thank you in advance for any suggestions!
Eugenio

채택된 답변

Walter Roberson
Walter Roberson 2012년 9월 11일
  댓글 수: 4
Eugenio Abela
Eugenio Abela 2012년 9월 11일
Hi Walter, Tom and Sean,
thanks a lot, sprintf() does exactly what I was looking for!
Cheers,
Eu
mukesh roy
mukesh roy 2018년 8월 14일
Is it possible to make multiple sub folders inside a parent folder using for loop from mkdir function. The naming convention can be taken from the for looping event

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by