mttDeleteField.m 186 B

1234567
  1. function model = mttDeleteField(structure,field_name)
  2. if isfield(structure,field_name)
  3. model = rmfield(structure,field_name) ;
  4. else
  5. model = structure ;
  6. end