How do I pass arrays by reference to an Embedded MATLAB subfunction from an Embedded MATLAB script in Simulink 7.1 (R2008a)?
Ältere Kommentare anzeigen
I have written an Embedded MATLAB script in which the main function calls a subfunction and passes an array as one of the arguments. I wish to ensure that the arguments are passed by reference and not passed by value when the Embedded MATLAB script is compiled into C code.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!