Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

datenum and Coder incomaptibility

3 visualizzazioni (ultimi 30 giorni)
Yossi Chait
Yossi Chait il 24 Set 2019
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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

Risposte (1)

Pratheek Punchathody
Pratheek Punchathody il 20 Nov 2020
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

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by