Assign the same values to many output variables

MANY takes in the variable x and assign it to all the output variables.

Al momento, stai seguendo questo contributo

MANY takes in the variable x and assign it to all the output variables.

This function works as the equation sign in C++ so that the following expression in C++:

x1 = x2 = x3 = x4 = x5 = 8;

is equivalent to the following expression in MATLAB:

[ x1, x2, x3, x4, x5 ] = MANY( 8 );

Cita come

Hairui (2026). Assign the same values to many output variables (https://it.mathworks.com/matlabcentral/fileexchange/35517-assign-the-same-values-to-many-output-variables), MATLAB Central File Exchange. Recuperato .

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0