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

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

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 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()

Catégories

En savoir plus sur Desktop dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by