Converting a Cell Array of Heterogenous Structures to a Structure Array
When I make a request to a web service I often use, I normally get back a struct array. Now, however, I have received a cell array of structs and I suspect that the structs have different fields.
I need to figure out how to convert this cell array into a homogenous struct array.
Features covered in this code-along style video include:
- fields, cellfun
- struct2table
Play the video in full screen mode for a better viewing experience.
评论
要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。