[Index for tmp_for_tar/struct] [Return to Master Index]

getfield

(tmp_for_tar/struct/getfield.m)


Function Synopsis

v = getfield(s,key)

Help text

        v = getfield(s,key) = s.key

 For m****b compatibility and flexibility.

 See also cmpstruct, fields, setfield, rmfield, isfield, isstruct,
 struct. 

 Last modified: January 2000



Listing of function file tmp_for_tar/struct/getfield.m

##        v = getfield(s,key) = s.key
## 
## For m****b compatibility and flexibility.
##
## See also cmpstruct, fields, setfield, rmfield, isfield, isstruct,
## struct. 

## Author:        Etienne Grossmann  <etienne@isr.ist.utl.pt>
## Last modified: January 2000

function v = getfield(s,key)
eval(['v=s.',key,';']);

Produced by oct2html on Wed Aug 8 19:47:02 2001
Cross-Directory links are: ON