Changeset 21454
- Timestamp:
- 12/26/16 18:37:32 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/mesh/rifts/rifttipsonmesh.m
r21452 r21454 3 3 % rifts. 4 4 5 %read rifts from outline file 6 %rifts=expread(riftoutline); 7 [pathr,namer,extr]=fileparts(riftoutline); 8 if strcmp(extr,'.exp'), 5 %read rift file according to its extension: 6 [path,name,ext]=fileparts(riftoutline); 7 if strcmp(ext,'.exp'), 9 8 rifts=expread(riftoutline); 10 elseif strcmp(ext r,'.shp'),9 elseif strcmp(ext,'.shp'), 11 10 rifts=shpread(riftoutline); 11 else 12 error(['bamg error message: file ' riftoutline ' format not supported (.shp or .exp)']); 12 13 end 13 14
Note:
See TracChangeset
for help on using the changeset viewer.