フィルターのクリア

How to make the setInstP function appear in the Simulink Embedded Coder generated C++ Code?

2 ビュー (過去 30 日間)
展勋 刘
展勋 刘 2023 年 3 月 16 日
回答済み: Samyuktha 2023 年 5 月 25 日
I've set all the Parameter checkbox on, and my Code Mappings are set as follows.
But I can't find a setInstP method in the generated C++ code. How can I make that function appear as public? Thanks!

回答 (1 件)

Samyuktha
Samyuktha 2023 年 5 月 25 日
I understand that you want to know how to set a function as public in the generated C++ code using Embedded coder.
You can configure the code programmaticaly or interactively depending upon your use case. For instructions on how to do this, kindly refer to the following documentation links:
Hope it helps!

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by