Content of table not fully displayed
Show older comments
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 :).
Accepted Answer
More Answers (1)
Sahaj
on 13 Jul 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.
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!