MATLAB: Extracting timetable variables as array

arrayextracttimetablevariables

Hi
i have a timetable imported from excel with undefined number or variables (number of usable variables change depending on situation).
Is there a possibility to extract all the variables with names that are written on top row of timetable as array into MATLAB?
e.g.: tempC = [11, 11, 11, 11, ….]
windspeed = [7.00, 7.00, 7.00, …]
thanks for your help!

Best Answer

tempC = timetable_csv{:}{2};
windspeed = timetable_csv{:}{3};
timestamp = timetable_csv{:}{1};
Related Question