Changeset 22930
- Timestamp:
- 07/13/18 14:15:12 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/exp/expread.m
r21780 r22930 1 function Struct=expread(filename )1 function Struct=expread(filename,varargin) 2 2 %EXPREAD - read a file exp and build a Structure 3 3 % … … 17 17 % 18 18 % See also EXPDOC, EXPWRITEASVERTICES 19 20 %recover options 21 options=pairoptions(varargin{:}); 19 22 20 23 %some checks … … 84 87 %close file 85 88 fclose(fid); 89 90 invert=getfieldvalue(options,'invert',0); 91 if invert, 92 for i=1:length(Struct), 93 Struct(i).x=flipud(Struct(i).x); 94 Struct(i).y=flipud(Struct(i).y); 95 end 96 end
Note:
See TracChangeset
for help on using the changeset viewer.