Info
此问题已关闭。 请重新打开它进行编辑或回答。
datenum and Coder incomaptibility
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!