Next Available Filename

Return the next unused filename, incrementing an integer as required.

다운로드
다운로드

이 제출물을 팔로우합니다

편집자 메모: This file was selected as MATLAB Central Pick of the Week

인용 양식

Stephen23 (2026). Next Available Filename (https://kr.mathworks.com/matlabcentral/fileexchange/64108-next-available-filename), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help Center 및 MATLAB Answers에서 File Operations에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

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

* Make WITHPATH=TRUE the default
* Update test cases and functions

다운로드
4.0.8

* Output FPA is joined, not array
* Add test function and class
* Fix bug when empty BASENAME
* Improve code comments

다운로드
4.0.7

* Improve INTMAX handling

다운로드
4.0.6

* Improve documentation.

다운로드
4.0.5

* Improve documentation.

다운로드
4.0.4

* Improve documentation
* Correct bug in 3rd output

다운로드
4.0.3

* Input checking and error message improvements.
* Documentation improvements.

다운로드
4.0.2

* Documentation improvements.

다운로드
4.0.1

* Documentation improvements.

다운로드
4.0.0

* Add syntax 1: filename with integer in angle brackets.
* Documentation improvements.

다운로드
3.1.0

* Return name with same class as first input.

다운로드
3.0.2

* 4th input accepts numeric or logical.
* Improve documentation.

다운로드
3.0.1

Simplify string handling.

다운로드
3.0.0

* Accepts string scalar or char vector inputs.
* Add error IDs.

다운로드
2.0.0

* Separate file extension input (allows for no-ext names and folders with periods).

다운로드
1.3.1

* Simplify documentation examples.

다운로드
1.3.0

* Optional third input selects to return name only or same path as input name.
* Use UINT64 for simpler integer handling.

다운로드
1.2.1

* Improve efficiency.

다운로드
1.2.0

* Handle single matched subfolder.

다운로드
1.1.0

* Add check for no matching files.

다운로드
1.0.0

* Update HTML docs.

다운로드