S(1).type = '()' S(2).type = '.' S(3).type = '()'
S(1).subs = {1,2} S(2).subs = 'PropertyName' S(3).subs = {1:4}
See Also
Related Examples
- “Indexed Assignment” on page 17-31
- “Number of Arguments for subsref and subsasgn” on page 17-6
- “Modify nargout and nargin for Indexing Methods” on page 17-9
- “Code Patterns for subsref and subsasgn Methods” on page 17-21
17 Specialize Object Behavior