Ignore:
Timestamp:
10/22/13 11:15:56 (11 years ago)
Author:
Mathieu Morlighem
Message:

NEW: added check that marshalled file is not corrupt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/solve/marshall.m

    r15689 r16514  
    3939end
    4040
     41%Last, write MaximumNumberOfEnum+1 to make sure that the binary file is not corrupt
     42WriteData(fid,'enum',MaximumNumberOfDefinitionsEnum()+1,'data',true,'format','Boolean');
     43
    4144%close file
    4245st=fclose(fid);
Note: See TracChangeset for help on using the changeset viewer.