mputl
writes strings in a text file
Syntax
r = mputl(txt, file_desc)
Arguments
- r
returns
%t
or%f
to check if function has correctly wrote on the file.- file_desc
a character string giving the name of the file or
an integer scalar: a file descriptor returned by
mopen
function.- txt
a vector of strings.
Description
mputl
function allows to write a vector of
strings as a sequence of lines in a text file.
mputl
supports strings encoded as ANSI/ASCII and UTF-8.
Examples
See also
- mget — parses numbers in a binary file and returns them as decimals
- mgetl — reads lines from an text file
- mclose — closes opened files
- mfprintf — converts, formats, and writes data to a file
- mput — writes byte or word in a given binary format
- mputstr — write a single text in an open file
- mopen — opens files in Scilab
- write — escreve números reais ou strings no console ou em um arquivo formatado
Report an issue | ||
<< mput | Arquivos : funções de Entrada/Saída | mputstr >> |