Merge Structures

バージョン 1.0.0.0 (1.46 KB) 作成者: Grant Lohsen
Merges two structures of equal sizes.
ダウンロード: 266
更新 2011/6/15

ライセンスの表示

A simple function to merge two structures as long as they are the same size.
Ex:
[test1(1:2,1:2).A] = deal(1,2,3,4)
[test2(1:2,1:2).B] = deal(5,6,7,8)
out = fJoinStructures(test1, test2)
out =
2x2 struct array with fields:
B
A

引用

Grant Lohsen (2024). Merge Structures (https://www.mathworks.com/matlabcentral/fileexchange/31809-merge-structures), MATLAB Central File Exchange. 取得済み .

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