ContentsIndexReferenceHome
PreviousUpNext
struct2vec
MATLAB
[v,names] = struct2vec(S)
Description

Converts field values in S to a vector of values. Will also return a cell array of the field names. If anything but a structure is passed in, the output will be the same as the input.

Parameters
Parameters 
Description 
S [struct] 
Input structure 
Return Values
Return Values 
Description 
v [vector] 
Vector of field values in S 
name [cell] 
Field names in S 
Group
Made with Doc-O-Matic.
Copyright (c) 2009. All rights reserved.
What do you think about this topic? Send feedback!