RecuMergeStruct(A, B)

バージョン 1.1.0.0 (3.55 KB) 作成者: Ben
Recursive merge of two structures.
ダウンロード: 172
更新 2015/8/18

ライセンスの表示

RECUMERGESTRUCT recursively merges fields & subfields of structs A and B
The aim is to produce 1D arrays of every shared field in the structs, indexed by the struct identifier, which we assume is a point field somewhere at the top level. Scalars are aggregated to vectors, vectors are aggregated if of equal size, mxn matrices are placed in cell arrays, as are cells and char arrays.

引用

Ben (2024). RecuMergeStruct(A, B) (https://www.mathworks.com/matlabcentral/fileexchange/47448-recumergestruct-a-b), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2012a
すべてのリリースと互換性あり
プラットフォームの互換性
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

Comments and style
Modified cell concatenation to produce 1D arrays rather than nests

1.0.0.0