I would like Matlab to return all outputs from an input function variable. For instance,
[varargout] = cpd_intersect (varargin {:});
This only returns the last output, but I know that the function is defined to receive multiple outputs.
Instead of defining dummy variables A, B, C, etc. in [A, B, C ...] = pd_intersect (varargin {:}). I would like something like a cell to store all output values based on the input number of values. I hope this makes sense. Thank you very much in advance.
source
share