Issue in the Autosar generated code

조회 수: 1 (최근 30일)
Dawit Teshome
Dawit Teshome 2020년 10월 27일
편집: Dawit Teshome 2020년 10월 27일
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개)

카테고리

Help CenterFile Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by