Content of table not fully displayed
Afficher commentaires plus anciens
Hi, I'm currently trying to finish my master thesis over the summer but I'm running into some problems with processing data in Matlab. I have a table with 401 rows of different measures of sleep durations (see attachment):

I want to export it to Excel with all sleeping times, but the times are stored in one cell, and can only be seen when clicking on the cell:

I want all the sleep durations of each cell being shown in the original table on their respective row, so I can copy all the data all at once to Excel (instead of manually doing it for each row, 401 times). With what code can I change the table so that all datetimes are visible at once? Hope someone knows this, it would help me so much :).
Réponse acceptée
Plus de réponses (1)
Sahaj
le 13 Juil 2023
0 votes
Hi Dennis.
I do not think there is a workaround for viewing the contents of the table, since each cell variable is made up of many cell variables. However, instead of wanting to copy all the data at once, you can take help of the writetable(table, filename) function in matalb to export your table to an excel file with the name filename.
Hope this helps.
Catégories
En savoir plus sur Tables dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!