extracting timetable variables as array
Mostrar comentarios más antiguos
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!
3 comentarios
Mohammad Sami
el 3 de Sept. de 2020
It is not recommended to do what you are asking.
You can easily access the individual variables using . notation as follows.
timetable_csv.TempC
Sehoon Chang
el 3 de Sept. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Variables en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!