Changeset 2558
- Timestamp:
- 10/29/09 07:52:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/@pairoptions/removefield.m
r2439 r2558 12 12 13 13 %find where the field is located 14 lines=find( strcmpi(pairoptions.list(:,1),field));14 lines=find(~strcmpi(pairoptions.list(:,1),field)); 15 15 16 16 %remove duplicates from the options list … … 18 18 19 19 %warn user if requested 20 if warn & ~isempty(lines),20 if warn 21 21 disp(['removefield info: option ' field ' has been removed from the list of options.']) 22 22 end
Note:
See TracChangeset
for help on using the changeset viewer.