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

1 view (last 30 days)
Muqhairie Marzuki
Muqhairie Marzuki on 21 Nov 2021
Answered: Prateek Rai on 24 Nov 2021
  4 Comments
Walter Roberson
Walter Roberson on 22 Nov 2021
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.

Sign in to comment.

Answers (1)

Prateek Rai
Prateek Rai on 24 Nov 2021
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!