Convert Excel to Timetable
显示 更早的评论
I have a question for my uni project. I am pretty new to matlab as well.
So i am reading an excel sheet with following code:
function Auswertung3()
[filename, pathname] = uigetfile('*.xlsx', 'Bitte Datei aussuchen');
[Data, ~, rawData] = xlsread(fullfile(pathname, filename));
Now i want to convert that excel file into a timetable? Can someone help me with that?
I attached the excel sheet as well, so the format should be the same just as timetable, and it should save the timetable in the workspace.
Thanks in advance!!
回答(2 个)
Star Strider
2021-2-21
0 个投票
‘I attached the excel sheet as well ...’
Not yet.
Benedikt Skurk
2021-2-21
0 个投票
4 个评论
Walter Roberson
2021-2-21
readtable() and then table2timetable()
Benedikt Skurk
2021-2-21
Walter Roberson
2021-2-22
t = readtable('Leit... xlsx') ;
tt = table2timetable(t) ;
Benedikt Skurk
2021-2-22
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!