Changeset 25284
- Timestamp:
- 07/15/20 20:20:55 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/solve/loadresultfromdisk.m
r25283 r25284 1 function variable=loadresultfromdisk(filename,step,name)1 function [variable fpos]=loadresultfromdisk(filename,step,name,varargin) 2 2 %LOADRESULTFROMDISK - load specific result of solution sequence from disk file "filename" 3 3 % … … 11 11 end 12 12 13 if nargin==4, 14 fpos=varargin{1}; 15 fseek(fid,fpos,'bof'); 16 end 17 13 18 %Put the pointer on the right position in the file: 14 19 while 1, 15 20 16 21 %read field 22 fpos=ftell(fid); 17 23 [length,count]=fread(fid,1,'int'); 18 24
Note:
See TracChangeset
for help on using the changeset viewer.