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

4 ビュー (過去 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