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

6 views (last 30 days)
Osamu Goto
Osamu Goto on 1 Mar 2016
Answered: Walter Roberson on 1 Mar 2016
csvreadでCSVファイルを読み込む範囲は,  R,C  R,C,RNG とありますが,文字列の列を含まれるCSVファイルに対して,そこを省く,適当な方法はないでしょうか?
  1 Comment
Walter Roberson
Walter Roberson on 1 Mar 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?

Sign in to comment.

Answers (1)

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

Categories

Find more on Data Import and Export in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!