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 (2025). vars2struct (https://jp.mathworks.com/matlabcentral/fileexchange/57371-vars2struct), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2016a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Data Type Conversion についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!