how to open an csv file using xlsread

조회 수: 21 (최근 30일)
Catarina Boffino
Catarina Boffino 2018년 7월 13일
댓글: Walter Roberson 2020년 12월 2일
Hello
I am trying to read and analyze a .csv file using fopen and xlsread
I am using character to do that
I am receiving to kind of errors 1.Error using xlsread (line 245) Unable to read XLS file/path/file.csv. File is not in recognized format.
and 2. Error in file (line 4) raw = xlsread('file')
I have numeric data with the first line as the readers of the worksheet
What can I do?

답변 (1개)

Rik
Rik 2018년 7월 13일
If you want to read a csv file, there is a function that is designed to do that: csvread.
  댓글 수: 3
Rik
Rik 2020년 12월 2일
That depends. What release are you using?
Walter Roberson
Walter Roberson 2020년 12월 2일
Rik earlier recommended csvread but you tried cvsread with the V and S exchanged.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by