Mercurial > hg > octave-lyh
comparison scripts/miscellaneous/getfield.m @ 6160:18344a472daf
[project @ 2006-11-14 06:57:02 by jwe]
author | jwe |
---|---|
date | Tue, 14 Nov 2006 06:57:02 +0000 |
parents | 27c966e4b2dc |
children | 4fb053f24fd6 |
comparison
equal
deleted
inserted
replaced
6159:645605133a6f | 6160:18344a472daf |
---|---|
34 ## | 34 ## |
35 ## @example | 35 ## @example |
36 ## i1= @{1,2@}; i2= 'fd'; i3= @{3@}; i4= 'b'; | 36 ## i1= @{1,2@}; i2= 'fd'; i3= @{3@}; i4= 'b'; |
37 ## ss( i1@{:@} ).( i2 )( i3@{:@} ).( i4 ) | 37 ## ss( i1@{:@} ).( i2 )( i3@{:@} ).( i4 ) |
38 ## @end example | 38 ## @end example |
39 ## @seealso{setfield,rmfield,isfield,isstruct,fields,struct} | 39 ## @seealso{setfield, rmfield, isfield, isstruct, fieldnames, struct} |
40 ## @end deftypefn | 40 ## @end deftypefn |
41 | 41 |
42 ## Author: Etienne Grossmann <etienne@cs.uky.edu> | 42 ## Author: Etienne Grossmann <etienne@cs.uky.edu> |
43 | 43 |
44 function s = getfield (s, varargin) | 44 function s = getfield (s, varargin) |