excel worksheet in matlab

1 次查看(过去 30 天)
Waqas Siddique
Waqas Siddique 2020-10-25
评论: dpb 2020-10-25
How do I read a Microsoft Excel worksheet into MATLAB as a table? I know how to read it as csv by
Table=readtable('filename.csv')
but I want to read as xls

回答(1 个)

Ameer Hamza
Ameer Hamza 2020-10-25
readtable(): https://www.mathworks.com/help/matlab/ref/readtable.html also works for xls file.
  1 个评论
dpb
dpb 2020-10-25
And if the Excel file is complex, better results will usually be had by using detectImportOptions first; simple files are generally brought in as desired.

请先登录,再进行评论。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by