Skip to content

deal

general · scripts/general/deal.m

: out = deal (…)

Distribute inputs to outputs. In the single-argument form the same value is copied into every requested output. In the multi-argument form the number of inputs must equal the number of requested outputs, and they are matched one-to-one.