1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
6
<TYPE>Scilab Function</TYPE>
7
<DATE>April 1993</DATE>
8
<SHORT_DESCRIPTION name="readb"> fortran file binary read</SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>x=readb(file-name,m,n [,rec]) </CALLING_SEQUENCE_ITEM>
15
<PARAM_NAME>file-name</PARAM_NAME>
17
<SP>: string or integer</SP>
21
<PARAM_NAME>m, n</PARAM_NAME>
23
<SP>: integers (dimensions of the matrix x). Set m=-1 if you do not know the numbers of rows, so all the file is read</SP>
27
<PARAM_NAME>rec</PARAM_NAME>
29
<SP>: vector of positive integers. the selected records for direct access. This vector size must be equal to the number of rows of desired <VERB>x</VERB>.</SP>
36
binary read of the matrix <VERB>x</VERB> in the file <VERB>file-name</VERB>.
37
Matrix entries are supposed to have been stored on 8 byte words.</P>
39
For direct record access, file must have been previously opened using
40
<VERB>file</VERB> function to set the record_length. <VERB>file-name</VERB> must be
41
the result of the <VERB>file</VERB> function.</P>