datenum and Coder incomaptibility

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일

0 개 추천

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

이 질문은 마감되었습니다.

태그

질문:

2019년 9월 24일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by