 |
Pass variable by reference to function - MATLAB Answers - MATLAB Central
If you change that goal, you'll be on your way. The ONLY thing you need to add is to add the variable name as an output in the function declaration line, and accept it when you call it. I mean, how much easier can it get? If you don't want to do that, the
www.mathworks.com |
 |