Next Available Filename

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

Herunterladen
Herunterladen

Sie verfolgen jetzt diese Einreichung

Anmerkung des Herausgebers: This file was selected as MATLAB Central Pick of the Week

Zitieren als

Stephen23 (2026). Next Available Filename (https://de.mathworks.com/matlabcentral/fileexchange/64108-next-available-filename), MATLAB Central File Exchange. Abgerufen .

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
4.1.0

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

Herunterladen
4.0.8

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

Herunterladen
4.0.7

* Improve INTMAX handling

Herunterladen
4.0.6

* Improve documentation.

Herunterladen
4.0.5

* Improve documentation.

Herunterladen
4.0.4

* Improve documentation
* Correct bug in 3rd output

Herunterladen
4.0.3

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

Herunterladen
4.0.2

* Documentation improvements.

Herunterladen
4.0.1

* Documentation improvements.

Herunterladen
4.0.0

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

Herunterladen
3.1.0

* Return name with same class as first input.

Herunterladen
3.0.2

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

Herunterladen
3.0.1

Simplify string handling.

Herunterladen
3.0.0

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

Herunterladen
2.0.0

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

Herunterladen
1.3.1

* Simplify documentation examples.

Herunterladen
1.3.0

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

Herunterladen
1.2.1

* Improve efficiency.

Herunterladen
1.2.0

* Handle single matched subfolder.

Herunterladen
1.1.0

* Add check for no matching files.

Herunterladen
1.0.0

* Update HTML docs.

Herunterladen