every time i import an excel file the time column changes to some values and i dont know how to proceed futher like how to convert it back to time ,add,subtract please help

3 次查看(过去 30 天)

回答(1 个)

rakbar
rakbar 2019-1-14
If you use MATLABs "Import Data" feature, next to the time column, there is a small down arrow. click on it, and you can set your varaible type (e.g., datetime, etc.). Then export it as a functions, script, or variable into your workspace.
Time.png

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by