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

4 ビュー (過去 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
  1 件のコメント
MITHUN RANA
MITHUN RANA 2019 年 1 月 15 日
can you write a code for me that subtract any two time and convert it into minutes

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

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by