When using a writetable to write a table file containing data in datetime format to Excel, the saved datetime data in Excel is not in the same format as the datetime data
Mostrar comentarios más antiguos
The table data is as follows:

Use the following writetable function code to save data to Excel,the exported result is shown in the following figure:

The time display is incomplete.
How to set the exported time format to be the same as the original data?
writetable(T, filePath);
Respuesta aceptada
Más respuestas (1)
Categorías
Más información sobre Spreadsheets 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!

