Trying to upload a CSV in matlab

4 ビュー (過去 30 日間)
Mate 2u
Mate 2u 2012 年 10 月 4 日
Hi all, I am trying to upload a csv file. I tried two methods (as follows with errors):
>> importdata('C:\Users\Mate2u\Desktop\FV.csv');
??? Error using ==> importdata at 214 Unable to load file. Use TEXTSCAN or FREAD for more complex formats.
Caused by: Error using ==> textscan Maximum variable size allowed by the function is exceeded.
>> csvread('C:\Users\Mate2u\Desktop\FV.csv');
??? Error using ==> dlmread at 145 Mismatch between file and format string. Trouble reading number from file (row 1, field 2) ==> /02/2
Error in ==> csvread at 52 m=dlmread(filename, ',', r, c);
] I would appreciate if somebody can help me?

回答 (1 件)

per isakson
per isakson 2012 年 10 月 4 日
編集済み: per isakson 2012 年 10 月 5 日
It says: Use TEXTSCAN ...., which is a good advise.
We cannot help without knowing something about the file.

カテゴリ

Help Center および File ExchangeText Files についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by