problem with Read excel file
古いコメントを表示
I have an excel file like below.
when I read it using
fid = xlsread('P645.cwu.igs14.csv');
the first column(Date) didnt read and it just give

what is the problem?
回答 (2 件)
Marcel Kreuzberg
2022 年 10 月 20 日
0 投票
xlsread read numeric values by default check out readtable
regards
Marcel
2 件のコメント
tara es
2022 年 10 月 20 日
Marcel Kreuzberg
2022 年 10 月 21 日
after reading the file with readtable (and the 'NumHeaderLines',11 option) you should get an table. the problem is now, that the tirst column 'Date' is not numeric. to get an matrix you have to convert the Date to numeric value first.
VBBV
2022 年 10 月 21 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!