hi there can anyone help me, i have problem in reading the excel file using the csvread command

조회 수: 1(최근 30일)
Muqhairie Marzuki
Muqhairie Marzuki 2021년 11월 21일
답변: Prateek Rai 2021년 11월 24일
  댓글 수: 4
Walter Roberson
Walter Roberson 2021년 11월 22일
If you know ahead of time what the file format is like, then csvread() can be used to skip any fixed number of leading rows, and any fixed number of leading entries, even when those rows or entries contain text. However, csvread() cannot be used to skip trailing rows or trailing or intermediate text columns.

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

답변(1개)

Prateek Rai
Prateek Rai 2021년 11월 24일
Hi,
Using "csvread" to read comma-separated value (CSV) file is not recommended.Use "readmatrix" instead.
You can refer to readmatrix MathWorks documentation page to find more on this.

Community Treasure Hunt

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

Start Hunting!

Translated by