mergeStructs

Helper function to merge separate/disparate data structures
83 Downloads
Updated 1 Dec 2019

View License

Matlab throws an error if you try to combine two dissimilar structures. This helper will merge N number of structures with different fields into a Nx1 structure with all fields from all of the structures.

Cite As

Paul Shoemaker (2024). mergeStructs (https://www.mathworks.com/matlabcentral/fileexchange/73502-mergestructs), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0