Changeset 16390
- Timestamp:
- 10/11/13 13:28:02 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/mesh2dvertical.m
r16343 r16390 32 32 case 0 33 33 obj=setdefaultparameters(obj); 34 case 1 35 inputstruct=varargin{1}; 36 list1 = properties('mesh2dvertical'); 37 list2 = fieldnames(inputstruct); 38 for i=1:length(list1) 39 fieldname = list1{i}; 40 if ismember(fieldname,list2), 41 obj.(fieldname) = inputstruct.(fieldname); 42 end 43 end 34 44 otherwise 35 45 error('constructor not supported');
Note:
See TracChangeset
for help on using the changeset viewer.