Embedded Coder for TI F28379D cannot generate code for System Initialize block

Hi,
I am trying to disable the pull-up for some GPIO pins of F28379D (using embedded coder support package of TI). In this post, it is advised to use "System Initialize" block, however when I build the model, I get an error and encounter the following warning:
"Block <Root/System Initialize> is eliminated by code generation optimization. Code is not generated for eliminated blocks."
When I checked the optimization tab, I couldn't see anything related (or I didn't understand maybe). Could you please help me to solve this?

3 件のコメント

Peeyush Kumar
Peeyush Kumar 2020 年 12 月 2 日
You can try disabling the block reduction parameter by navigating to Configuration Parameters->Simulation Target->Advanced Parameters->Block Reduction and uncheck the parameter. For more information please follow the link below: https://www.mathworks.com/help/simulink/gui/block-reduction.html
I hope it helps.
goksenin hande bayazit
goksenin hande bayazit 2020 年 12 月 2 日
This also didn't work. I still encounter the same warning.
goksenin hande bayazit
goksenin hande bayazit 2020 年 12 月 4 日
Here is my model. I would really appreciate if you could have a look at it. Thanks in advance.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by