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 件)

Angelo Yeo
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.

カテゴリ

ヘルプ センター および 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