Ignore:
Timestamp:
04/16/12 14:57:18 (13 years ago)
Author:
Mathieu Morlighem
Message:

merged trunk-jpl and trunk for revision 11994M

Location:
issm/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk

  • issm/trunk/src/m/classes/clusters/cosmos.m

    r11527 r11995  
    2121         methods
    2222                 function cluster=cosmos(varargin) % {{{1
    23                          options=pairoptions(varargin{:});
    24                          for i=1:size(options.list,1),
    25                                  fieldname=options.list{i,1};
    26                                  fieldvalue=options.list{i,2};
    27                                  if ismember(fieldname,properties('cosmos')),
    28                                          cluster.(fieldname)=fieldvalue;
    29                                  else
    30                                          disp(['''' fieldname ''' is not a property of cluster cosmos']);
    31                                  end
    32                          end
     23                         cluster=AssignObjectFields(pairoptions(varargin{:}),cluster);
    3324                 end
    3425                 %}}}
Note: See TracChangeset for help on using the changeset viewer.