How to generate 'Rte_Pim_xxxxx' API with Embedded Coder (autosar.tlc)

5 ビュー (過去 30 日間)
Liang Zong
Liang Zong 2018 年 10 月 31 日
回答済み: Liang Zong 2018 年 11 月 8 日
Hello, does anyone have a guide about how to configure a signal as Rte_Pim API, we already defined a struct(pim) in our Rte_Type header files and a macro(ponter to this struct) in Rte_SWC.h. Finally if we configure right, the generated API code should be '*Rte_Pim....().Abcdef'.
struct pim{
...
uint8 Abcdef;
...
}PerInstanceMemory;
Thanks. My matlab version is 2017b.

回答 (1 件)

Liang Zong
Liang Zong 2018 年 11 月 8 日
i have find the answers: define Abcdef as Autosar.signal then chose per instance memory in the storage class item.

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by