fortran file binary read
x = readb(file_name, m, n) x = readb(file_name, m, n, rec)
string or integer
integers (dimensions of the matrix x). Set m=-1 if you do not know the numbers of rows, so all the file is read
vector of positive integers. the selected records for direct access. This vector size must be equal to the number of rows of desired x
.
binary read of the matrix x
in the file file_name
.
Matrix entries are supposed to have been stored on 8 byte words.
For direct record access, file must have been previously opened using
file
function to set the record_length. file_name
must be
the result of the file
function.
Version | Description |
5.5.2 | readb() was published up to Scilab 5.5.2. |