Matlab 'dir' command - how to assign names to variables

12 views (last 30 days)
I am trying to get matlab to identify the names of certain files within a folder then open these files seperately and perform adjustments. This is part of my calibration processing. I am thinking that 'dir' is the most appropriate command
I can get MATLAB to return an array of file names, but do you know how I would go about assigning these names to different variables and determining how many files are present?
That was I can implicitly get matlab to make necessary adjustments to a range of different .csv files

Accepted Answer

Sachin Ganjare
Sachin Ganjare on 16 Oct 2012

More Answers (0)

Categories

Find more on File Operations 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!