only use filepath if it is a log file
Show older comments
I have the paths to all files in my current folder. then i want to run those files through a loop, but only if they are .log files , all other files i would like to ignore. i guess i have to find a string in a path and use an if statement, but it did not work so far
tried 'contains' and dir
Accepted Answer
More Answers (0)
Categories
Find more on Characters and Strings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!