Info

此问题已关闭。 请重新打开它进行编辑或回答。

Neglecting extern variable in ASAP file

1 次查看(过去 30 天)
Simulinker
Simulinker 2015-1-13
关闭: Simulinker 2015-3-12
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.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by