Changeset 11264
- Timestamp:
- 01/31/12 10:30:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/utils/consistency/checkfield.m
r10352 r11264 10 10 % - <: smallerthan provided value 11 11 % - <=: smaller or equal to provided value 12 % - < vec: smallerthan provided values on each vertex 12 13 % - forcing: 1 if check forcing consistency (size and time) 13 14 % - values: cell of strings or vector of acceptable values … … 153 154 if any(field2>upperbound), 154 155 checkmessage(getfieldvalue(options,'message',... 155 ['field ''' fieldname ''' should have values above' num2str(upperbound)]));156 ['field ''' fieldname ''' should have values below ' num2str(upperbound)])); 156 157 end 157 158 end … … 161 162 if any(field2>=upperbound), 162 163 checkmessage(getfieldvalue(options,'message',... 163 ['field ''' fieldname ''' should have values above ' num2str(upperbound)]));164 ['field ''' fieldname ''' should have values below ' num2str(upperbound(1))])); 164 165 end 165 166 end
Note:
See TracChangeset
for help on using the changeset viewer.