Issue in the Autosar generated code

1 view (last 30 days)
Dawit Teshome
Dawit Teshome on 27 Oct 2020
Edited: Dawit Teshome on 27 Oct 2020
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!

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!