importing a table from a file with multiple tables
8 次查看(过去 30 天)
显示 更早的评论

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:)
0 个评论
回答(2 个)
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:
0 个评论
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!