How to make reusable a c2000 Embedded Coder block?

1 回表示 (過去 30 日間)
Alejandro Llop
Alejandro Llop 2024 年 5 月 29 日
移動済み: Angelo Yeo 2024 年 6 月 4 日
Hello,
I'm using Simulink blocks from "Embedded Coder Support Package for Texas Instruments C2000 Processors/F2837xD" library, however, when trying to control a GPIO from two different subsystems (which occurs not simultaneously) I get an error message when trying to compile since the block is not reusable. How can I do it reusable?
I've read something about "SS_OPTION_WORKS_WITH_CODE_REUSE" but I don't know how to make specific blocks reusable, like the next one.
Thank you very much.
Best regards.
  1 件のコメント
Alejandro Llop
Alejandro Llop 2024 年 5 月 30 日
移動済み: Angelo Yeo 2024 年 6 月 4 日
Sorry, the real error was this: "xx/cla_task.cla", line 1: fatal error: cannot open source file "cla_header.h" 1 catastrophic error detected in the compilation of "xx/cla_task.cla". Compilation terminated.
How can I solve it?
Thanks.
Regards.

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

回答 (0 件)

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by