Changeset 14631
- Timestamp:
- 04/17/13 11:18:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/classes/model/model.m
r14621 r14631 1174 1174 1175 1175 %Preallocate variable id, needed to write variables in netcdf file 1176 var_id=zeros( 300,1);%preallocate1176 var_id=zeros(1000,1);%preallocate 1177 1177 1178 1178 for step=1:2, … … 1182 1182 end 1183 1183 1184 if counter> 300,1185 warning( 'preallocation of var_id need to be updated');1184 if counter>1000, 1185 warning(['preallocation of var_id need to be updated from ' num2str(1000) ' to ' num2str(counter)]); 1186 1186 end 1187 1187
Note:
See TracChangeset
for help on using the changeset viewer.