Borrar filtros
Borrar filtros

Readtable for excel workbook file

5 visualizaciones (últimos 30 días)
Waqas Siddique
Waqas Siddique el 12 de Feb. de 2021
Editada: Cris LaPierre el 2 de Feb. de 2022
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?

Respuestas (1)

Cris LaPierre
Cris LaPierre el 12 de Feb. de 2021
Editada: Cris LaPierre el 12 de Feb. de 2021
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 comentarios
Alikouider
Alikouider el 2 de Feb. de 2022
do we have a Excel.Workbooks.activate?
Cris LaPierre
Cris LaPierre el 2 de Feb. de 2022
Editada: Cris LaPierre el 2 de Feb. de 2022
Not with readtable. You are asking about ActiveX syntax. For that, see this example and this Answers post.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by