Create folder and rename if another has the same name

Create folder and rename if another has the same name and contains at least one file.

이 제출물을 팔로우합니다

USAGE
create_folder(newdir)

Folder "newdir" will be created.

If there is already a folder named "newdir" with any file regardless of the level, it will be renamed to "newdir-backup" (or "newdir-backup02",
"newdir-backup03", ...).

If "newdir" is empty or contains only folders, nothing is done.

인용 양식

Guilherme Coco Beltramini (2026). Create folder and rename if another has the same name (https://kr.mathworks.com/matlabcentral/fileexchange/41944-create-folder-and-rename-if-another-has-the-same-name), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 File Operations에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0