Function Reference
— Function File: [r1, r2, ..., rn] = deal (a)
— Function File: [r1, r2, ..., rn] = deal (a1, a2, ..., 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,

          [a, b, c] = deal (x, y, z);

is equivalent to

          a = x;
          b = y;
          c = z;

and

          [a, b, c] = deal (x);

is equivalent to

          a = b = c = x;