Does MATLAB Coder support "datetime" and other date-related functions?
9 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2018 年 3 月 22 日
編集済み: MathWorks Support Team
2023 年 12 月 26 日
Does MATLAB Coder support "datetime" and other date-related functions?
採用された回答
MathWorks Support Team
2023 年 12 月 26 日
編集済み: MathWorks Support Team
2023 年 12 月 26 日
As of MATLAB R2020a, MATLAB Coder supports the "datetime" function for code generation. To learn more about generating code from MATLAB code that uses "datetime", see the documentation page, "Code Generation for Datetime Arrays":
https://www.mathworks.com/help/releases/R2023b/coder/ug/code-generation-for-datetime-arrays.html
Additionally, MATLAB Coder supports code generation from some toolbox functions that take "datetime" arrays as inputs. For more information about these toolbox functions, see the MATLAB Coder release notes:
https://www.mathworks.com/help/coder/release-notes.html?category=supported-functions&rntext=datetime&startrelease=R2020a&endrelease=R2023b&groupby=release&sortby=descending&searchHighlight=datetime
0 件のコメント
その他の回答 (1 件)
Seth Furman
2021 年 11 月 5 日
Starting in R2020a, you can use datetime arrays in MATLAB code intended for code generation. For more information, see Code Generation for Datetime Arrays (MATLAB Coder) and Datetime Array Limitations for Code Generation (MATLAB Coder).
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Dates and Time についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!