Changeset 14301
- Timestamp:
- 02/01/13 13:57:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/pairoptions.m
r14176 r14301 162 162 163 163 %Recover option 164 bool=any(strcmpi(field,obj.list(:,1))); 164 pos=find(strcmpi(field,obj.list(:,1))); 165 if ~isempty(pos), 166 bool=true; 167 obj.list{pos,3} = true; %It is a default so user will not be notified if not used 168 else 169 bool=false; 170 end 165 171 end % }}} 166 172 function num = fieldoccurrences(obj,field), % {{{
Note:
See TracChangeset
for help on using the changeset viewer.