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

2 ビュー (過去 30 日間)
Osamu Goto
Osamu Goto 2016 年 3 月 1 日
回答済み: Walter Roberson 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()

製品

Community Treasure Hunt

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

Start Hunting!

Translated by