ImplicitReceive and ExplicitReceive RTE Autosar code generation

16 ビュー (過去 30 日間)
Tejas
Tejas 2023 年 9 月 5 日
コメント済み: Tejas 2023 年 9 月 12 日
rtb_Merge =
Rte_IRead_.........();
MATLAB generated the Autosar code based on my simulink model, but as mentioned above, it is "IRead" means implicitReceive, how can I generate ExpliciteReceive?
Do I need to change in configuration? if so how can I do it?
Thank you in advance!

回答 (1 件)

Sathvik
Sathvik 2023 年 9 月 12 日
Hi Tejas,
I understand you want to generate ExplicitReceive in the code generated from your Simulink model.
You can do so by changing the DataAccessMode for AUTOSAR Inputs.
In your Simulink editor, go to AUTOSAR -> Prepare -> Code Interface -> Individual Element Code Mappings. In the code mappings window go to Inports and change the DataAccessMode of the inputs to ExplicitReceive.
You may also look into this MATLAB Answer for more information on ImplicitReceive and ExplicitReceive.
Hope this helps!
  1 件のコメント
Tejas
Tejas 2023 年 9 月 12 日
Thanks for your feedback... I'm able to change to explicit.

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

カテゴリ

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

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by