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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
