How to make the setInstP function appear in the Simulink Embedded Coder generated C++ Code?
1 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
回答(1 个)
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!