nargout of builtin set
Show older comments
The function set() returns either zero output (when 3 arguments are supplied), either 1 output (when 1 argument is supplied). Hence I thought nargout(@set) was negative, since a variable number of outputs is supposed to rely on the varargout mechanism. However, nargout(@set)= 1 !
I don't understand. How can Matlab supply a function with varying number of outputs that does not use varargout ? Is it a bug in nargout ?
Thank you
Accepted Answer
More Answers (0)
Categories
Find more on Entering Commands 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!