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

9 Ansichten (letzte 30 Tage)
Osamu Goto
Osamu Goto am 1 Mär. 2016
Beantwortet: Walter Roberson am 1 Mär. 2016
csvreadでCSVファイルを読み込む範囲は,  R,C  R,C,RNG とありますが,文字列の列を含まれるCSVファイルに対して,そこを省く,適当な方法はないでしょうか?
  1 Kommentar
Walter Roberson
Walter Roberson am 1 Mär. 2016
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?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by