deal

Distribute inputs to outputs.

📝 Syntax

  • [R1, ... , Rn] = deal(A1, ... , An)

  • [R1, ... , Rn] = deal(A)

📥 Input argument

  • A1, ... , An - variables

📤 Output argument

  • R1, ... , Rn - variables

📄 Description

deal replicates the input parameters to the corresponding output parameters.

If a singular input parameter is provided, its value will be duplicated across all outputs.

💡 Examples

🔗 See also

cell, struct.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?