vars2struct

Convert variables to scalar structure.

Vous suivez désormais cette soumission

VARS2STRUCT Convert variables to scalar structure.
S = VARS2STRUCT packs each variable in the caller worksapce into an
output structure.

S = VARS2STRUCT(A,B,C,___) packs the input variables into an output
structure, such that fieldnames correspond to input variable names.

See also STRUCT2VARS <http://www.mathworks.com/matlabcentral/fileexchange/57370-struct2vars>.

Citation pour cette source

Matthew Eicholtz (2026). vars2struct (https://fr.mathworks.com/matlabcentral/fileexchange/57371-vars2struct), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.1

Minor edits to description.

1.0.0.0