エクセルファイルが、1行目に変数名、2行目以降にデータが入っているため、
そのまま読める(読み込み後の変数の型が同じ)ので、readcell関数を選択しました。
他の方法としては、下記を考えていますが、その他に簡単に変換する方法はありますでしょうか?
readtableで読み込み開始行を1行目に指定 → table2cell で型変換
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
1 Comment
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/645178-xlsread-readcell#comment_1127648
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/645178-xlsread-readcell#comment_1127648
Sign in to comment.