Model cannot generate AUTOSAR compliant code because it contains some blocks with continuous state

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 ?

回答(1 个)

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.

类别

帮助中心File Exchange 中查找有关 AUTOSAR Blockset 的更多信息

提问:

2023-11-23

回答:

2023-11-24

Community Treasure Hunt

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

Start Hunting!

Translated by