How to perform same function on all Matlab files & saving them?
Show older comments
Good Evening,
I am pretty new with matlab & using it as an alternative to excel for my project which is data extensive.
I have large amounts of data with more than 1,00,000 rows & 2 columns. I have around 40 files named differently & sitting in a single folder. I wish to perform logical function on all the files, such as if greater than 2.5 it is true or else it is false & save the answers on all the files.
Can someone please help me on how do we do that? Any help will be appreciated.
Thanks.
Answers (1)
Walter Roberson
on 7 Feb 2021
0 votes
Consider using a datastore, perhaps a spreadsheet datastore.
Categories
Find more on Environment and Settings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!