Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.0.0 - English


writb

fortran file binary write

Syntax

writb(file-name,a [,rec])

Arguments

file-name

string or integer

rec

vector of positive integers. the selected records for direct access. This vector size must be equal to the number of rows of a

Description

writes in binary format the matrix a in the file 'filename'.. Matrix entries are stored on 4 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.

See also

  • file — file management
  • readb — fortran file binary read
  • write — writes real numbers or strings in the console or in a formatted file
  • mput — writes byte or word in a given binary format
  • write4b — fortran file binary write
Report an issue
<< save Input/Output functions write >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Mar 27 11:52:45 GMT 2023