Changeset 2747
- Timestamp:
- 01/04/10 14:36:04 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/SectionValues.m
r2296 r2747 7 7 % Usage: 8 8 % [elements,x,y,z,s,data]=SectionValues(md,data,filename,resolution) 9 % [elements,x,y,z,s,data]=SectionValues(md,data,profile_structure,resolution) 9 10 10 %read infile: 11 contempt=expread(infile,1); 12 nods=contempt.nods; 13 x=contempt.x; 14 y=contempt.y; 11 %check what we have for profile as input 12 if ischar(infile), 13 %read infile: 14 contempt=expread(infile,1); 15 nods=contempt.nods; 16 x=contempt.x; 17 y=contempt.y; 18 else 19 %read infile: 20 nods=infile.nods; 21 x=infile.x; 22 y=infile.y; 23 end 24 15 25 16 26 %get the specified resolution
Note:
See TracChangeset
for help on using the changeset viewer.