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