File Exchange

image thumbnail

mergeStructs

version 1.0.0 (1.57 KB) by Paul Shoemaker
Helper function to merge separate/disparate data structures

2 Downloads

Updated 01 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 (2020). mergeStructs (https://www.mathworks.com/matlabcentral/fileexchange/73502-mergestructs), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

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!