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://jp.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.

ダウンロード