Changeset 13332
- Timestamp:
- 09/11/12 15:54:01 (13 years ago)
- Location:
- issm/trunk-jpl/src/m/exp
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/exp/expread.m
r13010 r13332 11 11 % Usage: 12 12 % Struct=expread(filename) 13 % 13 % 14 14 % Example: 15 15 % Struct=expread('domainoutline.exp') … … 33 33 34 34 %update number of profiles 35 35 count=count+1; 36 36 37 37 %Get file name 38 38 A=fscanf(fid,'%s %s',2); 39 39 if ~strncmp(A,'##Name:',7), break; end … … 52 52 if ~strncmp(A,'#Points',7), break; end 53 53 54 %Get number of nod s and density55 56 57 54 %Get number of nodes and density 55 A=fscanf(fid,'%f %f',[1 2]); 56 Struct(count).nods=A(1); 57 Struct(count).density=A(2); 58 58 59 59 %Get Info
Note:
See TracChangeset
for help on using the changeset viewer.