How to make the setInstP function appear in the Simulink Embedded Coder generated C++ Code?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1325540/image.png)
I've set all the Parameter checkbox on, and my Code Mappings are set as follows.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1325545/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1325545/image.png)
But I can't find a setInstP method in the generated C++ code. How can I make that function appear as public? Thanks!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1325550/image.png)
0 Kommentare
Antworten (1)
Samyuktha
am 25 Mai 2023
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 Kommentare
Siehe auch
Kategorien
Mehr zu Deployment, Integration, and Supported Hardware finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!