Issue in the Autosar generated code

Hello,
I have an autosar model that takes the input via Rte interface and when I generate a code I see that the model is generating extra global variables. I am using R2018b.
Instead of using this global generated Highlighted in red, I want to use this input parameter coming from Rte (tmpRead_1.is_VOLTAGE_MONITOR ) highligted in Blue.
to simplify I want to get rid of the global generated from model and use the model input coming from Rte.
one thing I tried is changing the interface packaging, but When I try to change the code interface packaging to reusable function I got the following error.
could anyone provide solution for this topics.
Thanks!

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeAUTOSAR Blockset についてさらに検索

タグ

質問済み:

2020 年 10 月 27 日

編集済み:

2020 年 10 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by