function day is not working in matlab 2020a

2 ビュー (過去 30 日間)
Prasanth R
Prasanth R 2020 年 12 月 21 日
コメント済み: Ameer Hamza 2020 年 12 月 21 日
I got the following error while using the function 'day' in matlab 2020a. But its worked in 2016a
>>t =
7.3652e+05
>> day(t)
Check for missing argument or incorrect argument data type in call to function 'day'.

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 12 月 21 日
Function day() is defined for datetime input arguments. For example
>> t = datetime('now');
>> day(t)
ans =
21
  4 件のコメント
Ameer Hamza
Ameer Hamza 2020 年 12 月 21 日
I am glad to be of help!!!

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

その他の回答 (0 件)

カテゴリ

Find more on Downloads in Help Center and File Exchange

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by