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일

0 개 추천

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.

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

카테고리

태그

질문:

2020년 10월 25일

댓글:

dpb
2020년 10월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by