Pass variable by reference to function
This isn't so much an answer but an example of why pass-by-reference would be useful. I want to pull an array of values out of ...
2 years ago | 0
What is an elegant way to pack and unpack an array of structures to/from a single vector?
What I've got is an array of structures of somewhat complicated data: data(1).r = [ 1 2 3 ]; data(1).v = [ 4 5 6 ]; data(1).m...
2 years ago | 1 answer | 0