Model cannot generate AUTOSAR compliant code because it contains some blocks with continuous state
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I am trying to generate a C code which is compliant with AUTOSAR from a model in which I am using some blocks with continuous time,
the generation is failed and I get this error message :
Your model cannot generate AUTOSAR compliant code because it contains some blocks with continuous state. Run the model advisor check to fix this issue.
In Configuration parameters: code generation/ Interface pane, I can't select the model configuration parameter Support: continuous time
Is it possible to generate code for continuous time blocks ?
0 个评论
回答(1 个)
Angelo Yeo
2023-11-24
No. Continuous time with AUTOSAR target is unsupported. Make sure there are no continuous-time blocks in your model if you wish to use the AUTOSAR target.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 AUTOSAR Blockset 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!