findFileSeries
function [returnFileGroup] = findFileSeries(filePath, allowskiplength, inclSmallerNumbers)
% input is the filepath of one file in a series of files that have
% some numeric indexing in their filenames
% allowskiplength allows skipping of numbers in the index (default = 0 =>
% no skipping allowed, only an uninterrupted series of indixed filenames will be returned)
% inclSmallerNumbers: if false, we only look for filenames containing higher
% indices, if true, we also accept filenames with smaller indices than in filePath; default
% = false
Cite As
Georg D (2024). findFileSeries (https://www.mathworks.com/matlabcentral/fileexchange/32276-findfileseries), 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.