excel worksheet in matlab

조회 수: 7 (최근 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.

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

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by