How to read and plot multiple Excel file
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Greetings,
I would like to know how can I read and plot the excel file from 1 Dec 2013 to 30 Dec 2013. The data for the excel file I wish to plot is N,E and Z as shown below.
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146527/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146528/image.png)
>>
I would like to also ask the function for a folder ?
For example. function for a single file can be written as
function [ndata,header] = ReadExcelv6(filename);
But how about function for a folder base on date ?
Thank you in advance.
2 Kommentare
Sara
am 19 Dez. 2014
look into
dir or ls
to get the names of the files in a folder. Then you can select only those within a certain range and use
xlsread
to read in only the columns you're interested in. makes sense?
Antworten (0)
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!