substruct
Create structure argument for subsasgn or subsref
Syntax
S = substruct(type1, subs1, type2, subs2, ...)
Description
S = substruct(type1, subs1, type2, subs2, ...) generates a structure containing fields necessary for an overloaded subsref or subsasgn method.
Each type char vector is limited to '.', '()', or '{}'.
The associated subs argument should be a field name (for the '.' type) or a cell array containing index vectors (for the '()' or '{}' types).
Example
See also
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated