Generates free pathname for a file
by Alexandre
01 Oct 2012
(Updated 05 Nov 2012)
Generates pathname to a non-existing file so you can save data without overwriting an existing file.
|
Watch this File
|
| File Information |
| Description |
Usage : filename = genfilename(fname)
This simple code will generate a 'free' pathname based on your suggestion (fname), to make sure you can save your data to a file without overwriting to an existing one.
Simple options allow you to use a certain number of digits or start numbering at a defined number. |
| MATLAB release |
MATLAB 7.12 (R2011a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 05 Nov 2012 |
Faster for large number of existing files. |
|
Contact us