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

2 views (last 30 days)

Answers (1)

rakbar
rakbar on 14 Jan 2019
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