how to create new folder ?
조회 수: 7 (최근 30일)
이전 댓글 표시
How to create a new folder ? if the folder already exist , the program will add another new folder. for example, i want to create a folder named 'Image' , if the 'Image' folder already exist, program will create another folder name 'Image1' .
댓글 수: 0
답변 (1개)
Stephen23
2018년 4월 13일
편집: Stephen23
2020년 1월 1일
You could download my FEX submission nextname:
It will return the next unused file/folder name, which you can then simply use with mkdir. Each time you need a new directory simply call it with exactly this code:
name = nextname('image','1','');
mkdir(name)
댓글 수: 1
참고 항목
카테고리
Help Center 및 File Exchange에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!