Loren on the Art of MATLAB

Results for: Structures

Concatenating structs 11

Posted by Loren Shure,

From time to time, I get asked or see queries about how to concatenate two struct arrays to merge the fields. There's even a section in the documentation covering this topic. I thought I'd show it here to help people out. ... read more >>

From struct to dataset 14

Posted by Loren Shure,

When I got to work last Friday, I saw an email discussion, on behalf of a customer, trying to find a good way to add a new field to a struct array. So this post will start with that problem, and... read more >>

Working with Arrays of Structures 30

Posted by Loren Shure,

Though I have covered this topic somewhat in the past, it seems like a good time to refresh the information. There are recent posts on the MATLAB newsgroup relating to this topic such as this one. ... read more >>

These postings are the author's and don't necessarily represent the opinions of MathWorks.