Function Reference
— Function File: substruct (type, subs, ...)

Create a subscript structure for use with subsref or subsasgn.

See also: subsref subsasgn