~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/fileio/readb.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH readb 1 "April 1993" "Scilab Group" "Scilab Function"
 
2
.so ../sci.an
 
3
.SH NAME
 
4
readb - fortran file binary read 
 
5
.SH CALLING SEQUENCE
 
6
.nf
 
7
x=readb(file-name,m,n [,rec])
 
8
.fi
 
9
.SH PARAMETERS
 
10
.TP 10
 
11
file-name
 
12
: string or integer 
 
13
.TP 10
 
14
m, n
 
15
: integers (dimensions of the matrix x). Set m=-1 if you do not know the
 
16
numbers of rows, so all the file is read
 
17
.TP
 
18
rec
 
19
: vector of positive integers. the selected records for direct access.
 
20
This vector size must be equal to the number of rows of desired \fVx\fR.
 
21
.SH DESCRIPTION
 
22
binary read of the matrix \fVx\fR in the file \fVfile-name\fR.
 
23
Matrix entries are supposed to have been stored on 8 byte words.
 
24
.LP
 
25
For direct record access, file must have been previously opened using
 
26
\fVfile\fR function to set the record_length. \fVfile-name\fR must be
 
27
the result of the \fVfile\fR function. 
 
28
.SH SEE ALSO
 
29
file, write, writb, mget, read4b