save_format - format of files produced by "save"
Variables are saved by Scilab with the save command in this format:
each variable record is appended consecutively to the file. The variable record begins with 24 bytes holding the variable name in encoded format (see code2str ), where the name is terminated by the value 40.
After that comes the variable type (long integer), then, depending on it, for:
row size m (long integer), column size n (long integer), it (long integer);
data (8*n*m*(it+1) bytes)
row size m (long integer), column size n (long integer), it (long integer);
formal variable name (16 bytes); pointer table (m*n+1 long integers);
data (8*(N-1)*(it+1) bytes, where N is the last entry of the pointer table)
row size m (long integer), column size n (long integer);
data (4*n*m bytes)
row size m (long integer), column size n (long integer), it (long integer), nel (long integer);
index (4*m+nel bytes);
non-zero values (8*nel*(it+1) bytes)
row size m (long integer), column size n (long integer), it (long integer), nel (long integer);
index (4*m+nel bytes);
non-zero values (4*nel*(it+1) bytes)
row size m (long integer), column size n (long integer),
integer type (long integer): 1,2,4, or 11,12,14 for signed and unsigned 1,2,4 bytes integers;
data (n*m*(it modulo 10) bytes)
row size m (long integer), column size n (long integer),
total number of characters nc+1 (long integer);
pointer table (n*m+1 bytes);
data (4*nc bytes)
nout (long integer), lhs names (24*nout bytes),
nin (long integer), rhs names (24*nin bytes);
code length N (long integer),
code (4*N bytes)
nout (long integer), lhs names (24*nout bytes),
nin (long integer), rhs names (24*nin bytes);
code length N (long integer),
pseudocode (4*N bytes)
path length np (long integer), path name (4*np bytes),
number of names nn (long integer),
class pointers (120 bytes);
names (24*nn bytes);
number of fields n (long integer),
pointers (4*(n+1) bytes);
variables (each one written according to its format)
save , load , listvarinfile , type , typeof ,