matlab - Concatenating (sub)fields of structs in a cell array ...
stackoverflow.com › questions › 35626141Feb 25, 2016 · I have a Matlab object, that is a cell array containting structs that have almost identical structures and I want to programmatically get a (sub)field of the structs of all cell array elements. For example, we take test. test = {struct('a',struct('sub',1)), struct('a',struct('sub',2),'b',1)}; This will create a cell array with the following ...