Recursive Structure Merge

バージョン 1.1.0.0 (5.67 KB) 作成者: Dongxi Zheng
Merge a structure (array) to another structure (array) in a nested (recursive) way
ダウンロード: 217
更新 2014/7/11

ライセンスの表示

This function merges a from structure (array) to a to structure (array) in a recursive manner when values contain structures (arrays). At any level: 1) If two single structures are to be merged, the same fields in the to structure are overwritten by the fields in the from structure. Extra fields from the from structure are added to the to structure. 2) If one or both of the structures are arrays, they are concatenated in terms of their elements and merged in terms of their fields.

引用

Dongxi Zheng (2025). Recursive Structure Merge (https://jp.mathworks.com/matlabcentral/fileexchange/47199-recursive-structure-merge), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2013a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersStructures についてさらに検索
タグ タグを追加

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

Correct a typo in the file description

1.0.0.0