Info

この質問は閉じられています。 編集または回答するには再度開いてください。

datenum and Coder incomaptibility

1 回表示 (過去 30 日間)
Yossi Chait
Yossi Chait 2019 年 9 月 24 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Matlb Coder does not suppoer functions that such datenum and weeknum. Does anyone have alternative M-files that can be handled by the Coder? thanks in advance

回答 (1 件)

Pratheek Punchathody
Pratheek Punchathody 2020 年 11 月 20 日
datenum is not supported for code generation in the previous version before R2019a. However, as a workaround datetime does support code generation and it is recommended to use datetime over datenum, even when not doing code generation.
Refer to the Documentation for more information on the datetime

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by