How to read give Filename.csv in MATLAB?

2 views (last 30 days)
chandrapal Singh
chandrapal Singh on 24 May 2018
Commented: Jan on 24 May 2018
I want to load this file but I am getting the error as "Trouble reading 'Numeric' field from the file" Can anyone help? Thanks in advance.
  1 Comment
Jan
Jan on 24 May 2018
You forgot to post the code. It is easier to suggest how to fix your code, than to guess, what your code is.

Sign in to comment.

Answers (1)

KSSV
KSSV on 24 May 2018
Edited: KSSV on 24 May 2018
USe xlsread
[num,txt,raw] = xlsread('FileName.csv') ;
or
T = readtable('FileName.csv') ;

Categories

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

Community Treasure Hunt

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

Start Hunting!