Finding correct data row in excel data file
Ältere Kommentare anzeigen
Hi,
I have excel data files which I read and process in matlab, sometimes the logged data shifts and starts at row 10 instead of row 8, is there a way for matlab to automatically find where the data starts without having to manually set the row?
Below is a screenshot of what I mean:

Thanks
Akzeptierte Antwort
Weitere Antworten (1)
Azzi Abdelmalek
am 10 Aug. 2012
that depends on what kind of data you have, string, numbers,...
[num,text,num_text]=xlsread(YourFile)
- num contains numeric data (class double)
- text contains string data (class cell)
- num_textt contains both numeric and string (class cell)
you don't need to know where are your data, unless there other contents then your matrix of data.
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!