13
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="matfile_varwrite">
15
<refname>matfile_varwrite</refname>
16
<refpurpose>Write a variable in a Matlab V5 binary MAT-file.</refpurpose>
19
<title>Calling Sequence</title>
20
<synopsis>status = matfile_varreadnext(fd, name, value, compressionflag)</synopsis>
23
<title>Arguments</title>
29
Real: file descriptor (returned by <link linkend="matfile_open">matfile_open</link>).
36
<para>String: name of the variable to write in the file.</para>
42
<para>Any Scilab type: value of the variable to write in the file.</para>
46
<term>compressionflag</term>
49
Boolean: indicate if data compression has to be used (flag equaled to <emphasis>%T</emphasis>) or not.
57
Boolean: <emphasis>%T</emphasis> if writing succeeds, <emphasis>%F</emphasis> otherwise.
64
<title>Description</title>
66
Writes a variable in a Matlab binary MAT-file opened by <link linkend="matfile_open">matfile_open</link>.
69
<refsection role="see also">
70
<title>See Also</title>
71
<simplelist type="inline">
73
<link linkend="matfile_open">matfile_open</link>
76
<link linkend="matfile_close">matfile_close</link>
79
<link linkend="matfile_varreadnext">matfile_varreadnext</link>
82
<link linkend="matfile_listvar">matfile_listvar</link>
87
<title>Bibliography</title>
89
This function uses MATIO library (
91
<ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink>
15
<refname>matfile_varwrite</refname>
16
<refpurpose>Write a variable in a Matlab V5 binary MAT-file.</refpurpose>
19
<title>Calling Sequence</title>
20
<synopsis>status = matfile_varreadnext(fd, name, value, compressionflag)</synopsis>
23
<title>Arguments</title>
29
Real: file descriptor (returned by <link linkend="matfile_open">matfile_open</link>).
36
<para>String: name of the variable to write in the file.</para>
42
<para>Any Scilab type: value of the variable to write in the file.</para>
46
<term>compressionflag</term>
49
Boolean: indicate if data compression has to be used (flag equaled to <emphasis>%T</emphasis>) or not.
57
Boolean: <emphasis>%T</emphasis> if writing succeeds, <emphasis>%F</emphasis> otherwise.
64
<title>Description</title>
66
Writes a variable in a Matlab binary MAT-file opened by <link linkend="matfile_open">matfile_open</link>.
69
<refsection role="see also">
70
<title>See Also</title>
71
<simplelist type="inline">
73
<link linkend="matfile_open">matfile_open</link>
76
<link linkend="matfile_close">matfile_close</link>
79
<link linkend="matfile_varreadnext">matfile_varreadnext</link>
82
<link linkend="matfile_listvar">matfile_listvar</link>
87
<title>Bibliography</title>
89
This function uses MATIO library (
91
<ulink url="http://sourceforge.net/projects/matio/">http://sourceforge.net/projects/matio/</ulink>