Calling a Simulink Function which accesses root I/O directly in an MATLAB Function is not supported for AUTOSAR code generation!!

3 ビュー (過去 30 日間)
Arian
Arian 2022 年 9 月 12 日
編集済み: Arian 2022 年 9 月 12 日
I am trying to generate AUTOSAR-based code from a model that C code is generated from it without any problem using Embedded Coder.
To do that I have switched from Embedded Coder to AUTOSAR-Blockset and then everything is configured automatically.
After clicking on Generate Code button the following error was observed which says accessing I/O directly from a Simulink Function that is called by a MATLAB Function is not supported for AUTOSAR code generation ( note that simulation works fine ).
Now my question is how to overcome this issue and what alternatives are available.

回答 (0 件)

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by