MATLAB: Create a function to extract data several csv files

create functioncsv filesimport data

Hello! I´ve been trying to use the Import data/create a function to select a part of my csv files. I want to take matrix of data from a lot of different files. The layout is always the same, so I read tutorials. I try with: http://nl.mathworks.com/help/matlab/import_export/import-data-interactively.html But I get Undefined function 'importfile' for input arguments of type 'char'.
I want, if it is possible a function to use is several csv files. I want to create the matrix numbers. I have a lot of files to run. Can it be done? I think I have a problem to make matlab understand how to change to other files. If I use Import script I get the data but only for that one csv file I used. Not for others.
I am really new at these, any help is a lot! thank you.

Best Answer

Thank you so much for your answers!
I will upload a file so you can see.
What I need is to take the data from different columns and rows to work with them after. Example. Take C21:J532, C556:H1067, C1089:H1600
After I will need to work on that matrix.