Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Can I provide custom method/function to be included in c++ class generated by simulink
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I would like to add an additional method to the c++ class generated by Simulink.
The use case is that I would like the application that the generated code is part of to provide an interface to a logger method which can be used in the generated code as well.
0 Kommentare
Antworten (1)
Sahithi Kanumarlapudi
am 23 Sep. 2019
When ‘Model Source’ block is used the code generator adds external code that you specify to the source file (model.c or model.cpp) that it generates.
0 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!