vars2struct

Convert variables to scalar structure.

您现在正在关注此提交

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>.

引用格式

Matthew Eicholtz (2026). vars2struct (https://ww2.mathworks.cn/matlabcentral/fileexchange/57371-vars2struct), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Data Type Conversion 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.1

Minor edits to description.

1.0.0.0