% -*- texinfo -*- % @deftypefn {Function File} {[@var{r1}, @var{r2}, @dots{}, @var{rn}] =} deal (@var{a}) % @deftypefnx {Function File} {[@var{r1}, @var{r2}, @dots{}, @var{rn}] =} deal (@var{a1}, @var{a2}, @dots{}, @var{an}) % % Copy the input parameters into the corresponding output parameters. % If only one input parameter is supplied, its value is copied to each % of the outputs. % % For example, % % @example % [a, b, c] = deal (x, y, z); % @end example % % @noindent % is equivalent to % % @example % @group % a = x; % b = y; % c = z; % @end group % @end example % % @noindent % and % % @example % [a, b, c] = deal (x); % @end example % % @noindent % is equivalent to % % @example % a = b = c = x; % @end example % @end deftypefn