csvデータの読み込み
19 views (last 30 days)
Show older comments
csvファイルの任意の位置データのみ読み込む方法を教えてください。
(例:csvファイルの2行3列目の日付データのみを読み込みたい場合)
0 Comments
Accepted Answer
Hernia Baby
on 31 Jul 2021
opts = detectImportOptions('Sample.xlsx');
preview('Sample.xlsx',opts)
M = readtable('Sample.xlsx','Range','A2:A4')
5 Comments
Hernia Baby
on 1 Aug 2021
返信ありがとうございます。
csvでもxlsreadは使用可能ですが、
おっしゃる通り、2019a以降のバージョンではreadmatrixが有効です。
バージョンによって使い分けてみてください。
More Answers (0)
See Also
Categories
Find more on スプレッドシート in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!