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!