mttGetField.m 154 B

123456
  1. function field = mttGetField(structure,component)
  2. field = [] ;
  3. if isfield(structure,component)
  4. field = getfield(structure,component) ;
  5. end