Changeset 452 for trunk/src/civ.m
- Timestamp:
- Jun 12, 2012, 8:53:51 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ.m
r446 r452 2100 2100 detect=exist(filename,'file')==2; 2101 2101 if detect% if a netcdf file already exists 2102 answer=msgbox_uvmat('INPUT_Y-N',['delete files in ' subdir_civ1_new]); 2103 if ~strcmp(answer,'Yes') 2102 answer=msgbox_uvmat('INPUT_Y-N',['overwrite existing civ files in ' subdir_civ1_new]); 2103 if strcmp(answer,'Yes') 2104 detect=0; 2105 filecell.nc.civ1(ifile,j)={filename}; 2106 else 2104 2107 r=regexp(subdir_civ1_new,'(?<root>.*\D)(?<num1>\d+)$','names');%detect whether name ends by a number 2105 2108 if isempty(r)
Note: See TracChangeset
for help on using the changeset viewer.