https://www.mathworks.com/help/releases/R2018b/matlab/ref/varargout.html
varargout
Variable-length output argument list
Syntax
-
Description
varargoutis an output variable in a function definition statement that enables the function to return any number of output arguments. Specifyvarargoutusing lowercase characters, and include it as the last output argument after any explicitly declared outputs.- When the function executes,
varargoutis a 1-by-N cell array, where N is the number of outputs requested after the explicitly declared outputs.
