フィルターのクリア

Multiple Instantiation of software component for AUTOSAR

14 ビュー (過去 30 日間)
Punit Purohit
Punit Purohit 2019 年 10 月 3 日
コメント済み: Jeevan K C 2023 年 10 月 20 日
Does Simulink has support for Multiple Instantiation of software component for AUTOSAR? if so where can I find a guide for how to configure the same.

回答 (1 件)

Mario Jimenez
Mario Jimenez 2020 年 8 月 18 日
As of R2018b, it partially supports multi-instance SWCs. Take a look into de Embedded Coder AUTOSAR user guide (https://www.mathworks.com/help/releases/R2018b/pdf_doc/ecoder/ecoder_autosar.pdf section 2-11) or AUTOSAR Blockset user guide for newer versions. It says that Multi-Instance Components are supported except when the model contains either of the following blocks:
• Simulink Function
• Model-level Inport configured to output a periodic function-call
However, if you are trying to create the model from an imported arxml file, bad news, after the importer command is requested, MATLAB will produce an error which basically ask you to set the attribute supportsMultipleInstantiation of the component's SwcInternalBehavior to false.
Actually I'm struggling myself with this import issue, I see that your post has been here for a while so in case you have found a workaround, I would really appreciate if you could share.
Best regards
  2 件のコメント
Shrirang Bhadgaonkar
Shrirang Bhadgaonkar 2022 年 1 月 14 日
HI Mario, Were you able to use multi-instance SWC, what challenges did you faced? I would like to listen more about it.
Jeevan K C
Jeevan K C 2023 年 10 月 20 日
"Multiple instance not supported for Simulink function".
Is this SIMULINK restriction or AUTOSAR restriction?

サインインしてコメントする。

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by