saveseq.m

Version 1.3.0.0 (1.06 KB) by aneps
Save the files by numbering the file name sequentially
206 Downloads
Updated 28 May 2014

View License

saveseq function: save files with same filename and numbered squentially.
This function search in the current directory for the files with the samename. Then if there is no such files exists, the function save the data as name_1, name_2 sequentially for each run. If there is a file existing in the directory with name*, the function will see how many such files are there and number the new file after that. for example if there are 3 files existing with name*, the function will save the new file as 'name_4'.
EXAMPLE: saveseq('filename','mydata')

Cite As

aneps (2025). saveseq.m (https://uk.mathworks.com/matlabcentral/fileexchange/46776-saveseq-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Standard File Formats in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.3.0.0

updated explanation

1.2.0.0

updated the explanation

1.1.0.0

updated the explanation

1.0.0.0