problem with Read excel file
2 ビュー (過去 30 日間)
古いコメントを表示
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?
0 件のコメント
回答 (2 件)
Marcel Kreuzberg
2022 年 10 月 20 日
xlsread read numeric values by default check out readtable
regards
Marcel
2 件のコメント
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.
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!