How do I pass arrays by reference to an Embedded MATLAB subfunction from an Embedded MATLAB script in Simulink 7.1 (R2008a)?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Block Libraries in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!