Readtable for excel workbook file
이전 댓글 표시
What command can I use to read an excel workbook(xlsx) file as a table into MATLAB?Also, how do I skip the first 5 rows of the workbook as Headerlines?
댓글 수: 1
Walter Roberson
2021년 2월 12일
readtable() with 'range', 'A6'
답변 (1개)
Cris LaPierre
2021년 2월 12일
편집: Cris LaPierre
2021년 2월 12일
0 개 추천
Also look at the Name-Value pair arguments for readtable. Note that, for Spreadsheet files, only these parameter names apply: FileType, ReadVariableNames, ReadRowNames, TreatAsEmpty, DatetimeType, Sheet, Range, UseExcel, and TextType.
댓글 수: 4
Waqas Siddique
2021년 2월 12일
Cris LaPierre
2021년 2월 12일
I might have bolded one of the options in my reply to point you in the right direction.
Ali
2022년 2월 2일
do we have a Excel.Workbooks.activate?
Cris LaPierre
2022년 2월 2일
편집: Cris LaPierre
2022년 2월 2일
Not with readtable. You are asking about ActiveX syntax. For that, see this example and this Answers post.
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!