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

回答 (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

1 件のコメント

can you write a code for me that subtract any two time and convert it into minutes

サインインしてコメントする。

質問済み:

2019 年 1 月 14 日

コメント済み:

2019 年 1 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by