Info

This question is closed. Reopen it to edit or answer.

Neglecting extern variable in ASAP file

1 view (last 30 days)
Simulinker
Simulinker on 13 Jan 2015
Closed: Simulinker on 12 Mar 2015
Hello,
I'm using Embedded Coder (ert) for code generation with an ASAP2 interface which generates an a2l file. Let's say I have an variable "input" used to communicate with other modules. "input" is defined as Simulink.Signal and its storage class is set to ImportedExtern, since it's an extern variable. The variable "input" also appears in the a2l file, which leads to an error while compiling the whole software.
Now the question: how can I tell the code generator to neglect the variable "input" in the a2l file? Setting the storage class of "input" to "Auto" is no option, since it's not extern anymore.
Thanks.

Answers (0)

Community Treasure Hunt

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

Start Hunting!