Merge structures in matlab

The following Matlab project contains the source code and Matlab examples used for merge structures . 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

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
fJoinStructures.m 1321
license.txt 1305