importing a table from a file with multiple tables

조회 수: 8 (최근 30일)
Izabel M.
Izabel M. 2025년 9월 15일
답변: Lei Hou 2025년 9월 26일
I want to specifically import data from Table 3 but I'm unsure how to write that in my script.
If anyone could help I'd appreciate it:)

답변 (2개)

Image Analyst
Image Analyst 2025년 9월 15일
Try
t = readtable('summary_tables_rev2.xlsx')
If you have any more questions, then attach your workbook and code to read it in with the paperclip icon after you read this:

Lei Hou
Lei Hou 2025년 9월 26일
Hi Izabel,
You can use the input parameter 'Sheet' to specify the sheet to read from. Try
t = readtable('summary_tables_rev2.xlsx', Sheet="Table 3")
Hoping this is helpful to you.
Best,
Lei

카테고리

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