Next Available Filename

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

Télécharger
Télécharger

Vous suivez désormais cette soumission

Note de l’éditeur : This file was selected as MATLAB Central Pick of the Week

Citation pour cette source

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

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec les versions R2009b et ultérieures

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
4.0.6

* Improve documentation.

Télécharger
4.0.5

* Improve documentation.

Télécharger
4.0.4

* Improve documentation
* Correct bug in 3rd output

Télécharger
4.0.3

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

Télécharger
4.0.2

* Documentation improvements.

Télécharger
4.0.1

* Documentation improvements.

Télécharger
4.0.0

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

Télécharger
3.1.0

* Return name with same class as first input.

Télécharger
3.0.2

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

Télécharger
3.0.1

Simplify string handling.

Télécharger
3.0.0

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

Télécharger
2.0.0

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

Télécharger
1.3.1

* Simplify documentation examples.

Télécharger
1.3.0

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

Télécharger
1.2.1

* Improve efficiency.

Télécharger
1.2.0

* Handle single matched subfolder.

Télécharger
1.1.0

* Add check for no matching files.

Télécharger
1.0.0

* Update HTML docs.

Télécharger