Importing CSV files in MATLAB
古いコメントを表示
Suppose I have the following lines in a .csv file:
Date,Time,Ch1:
09/07/2007,12:26:51.000,10.684
09/07/2007,12:26:51.005,14.957
If one used an older version of Excel, these would automatically be placed in three columns without the commas. However, the above is not the case.
I was wondering how to convert these strings into an array.
採用された回答
その他の回答 (1 件)
Iain
2013 年 6 月 11 日
0 投票
[n, t, r] = xlsread(filename);
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!