CSVファイルの読み込み範囲について

2 次查看(过去 30 天)
Osamu Goto
Osamu Goto 2016-3-1
csvreadでCSVファイルを読み込む範囲は,  R,C  R,C,RNG とありますが,文字列の列を含まれるCSVファイルに対して,そこを省く,適当な方法はないでしょうか?
  1 个评论
Walter Roberson
Walter Roberson 2016-3-1
Approximate translation:
The reading range of the CSV file
Range to read the CSV file in csvread, R, C R, C, but there are a RNG, for the CSV file that contains a column of string, save there, I think an appropriate way?

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2016-3-1
csvread() and dlmread() cannot be used to read in files that contain strings. You will need to use xlsread() or fopen() / textscan() / fclose()

类别

Help CenterFile Exchange 中查找有关 Desktop 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by