Next Available Filename
Return the next unused filename, incrementing an integer as required.
Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
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 .
Quellenangaben
Inspiriert von: Avoid file overwrite, auto_rename, Natural-Order Filename Sort
Inspiriert: Making a new .txt or .xlsx file automatically, Customizable Natural-Order Sort, Natural-Order Filename Sort
Allgemeine Informationen
- Version (17,1 KB)
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
|
||
| 4.0.8 | * Output FPA is joined, not array
|
||
| 4.0.7 | * Improve INTMAX handling |
||
| 4.0.6 | * Improve documentation. |
||
| 4.0.5 | * Improve documentation. |
||
| 4.0.4 | * Improve documentation
|
||
| 4.0.3 | * Input checking and error message improvements.
|
||
| 4.0.2 | * Documentation improvements. |
||
| 4.0.1 | * Documentation improvements. |
||
| 4.0.0 | * Add syntax 1: filename with integer in angle brackets.
|
||
| 3.1.0 | * Return name with same class as first input. |
||
| 3.0.2 | * 4th input accepts numeric or logical.
|
||
| 3.0.1 | Simplify string handling. |
||
| 3.0.0 | * Accepts string scalar or char vector inputs.
|
||
| 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.
|
||
| 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. |