Merge Structures

Merges two structures of equal sizes.
266 descargas
Actualizado 15 jun 2011

Ver licencia

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

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2011a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Structures en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0