Passing data by reference to Matlab toolbox functions for code generation
Hello everyone.
I am working on optimization of generated code. My algorithm uses toolbox function interp1 for linear interpolation. Code for it is generated by Matlab embedded coder. I want to prevent copying of input arrays to it. Normally function doesn’t define input argument as in/out, but algorithm doesn’t use them afterwards and copy is redundant. Is there a way to tell Matlab coder about it to do optimization.Hello everyone.
I am working on optimization of generated code. My algorithm uses toolbox function interp1 for linear interpolation. Code for it is generated by Matlab embedded coder. I want to prevent copying of input arrays to it. Normally function doesn’t define input argument as in/out, but algorithm doesn’t use them afterwards and copy is redundant. Is there a way to tell Matlab coder about it to do optimization. Hello everyone.
I am working on optimization of generated code. My algorithm uses toolbox function interp1 for linear interpolation. Code for it is generated by Matlab embedded coder. I want to prevent copying of input arrays to it. Normally function doesn’t define input argument as in/out, but algorithm doesn’t use them afterwards and copy is redundant. Is there a way to tell Matlab coder about it to do optimization. matlab coder, memory, embedded coder MATLAB Answers — New Questions