![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/539896/image.png)
How to set-up simulink coder to generate input/output variables as pointers
13 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am trying to set-up a Simulink model such that the auto generated C-code creates interfaces as pointers. That way I can avoid double storage for legacy code that interfaces with generated code.
0 Commenti
Risposte (1)
Jean-Paul Marcade
il 5 Mar 2021
This can be achieved through the code mapping menu once you are in the code generation view. You will find more details:https://www.mathworks.com/help/rtw/ug/control-data-interface-in-the-generated-code.html
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/539896/image.png)
0 Commenti
Vedere anche
Categorie
Scopri di più su Simulink Coder in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!