Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.0 - Русский

Change language to:
English - Français - 日本語 - Português -

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Справка Scilab >> Input/Output functions > read4b

read4b

fortran file binary read

Syntax

x=read4b(file-name,m,n [,rec])

Arguments

file-name

string or integer

m, n

integers (dimensions of the matrix x). Set m=-1 if you do not know the numbers of rows, so all the file is read

rec

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

Description

binary read of the matrix x in the file file-name. Matrix entries are supposed to have been 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 — управление файлами
  • write — write in a formatted file
  • writb — fortran file binary write
  • mget — считывает байт или слово в заданном двоичном формате и преобразует в число удвоенной точности
  • write4b — fortran file binary write
Report an issue
<< read Input/Output functions readb >>

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:
Tue Feb 25 08:54:57 CET 2020