<?xml version="1.0" encoding="UTF-8"?>
<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" xmlns:scilab="http://www.scilab.org" xml:lang="en" xml:id="user">
    <refnamediv>
        <refname>user</refname>
        <refpurpose>interfacing a Fortran or C routine</refpurpose>
    </refnamediv>
    <refsynopsisdiv>
        <title>Syntax</title>
        <synopsis>[s_1,s_2,...,s_lhs]=user(e_1,e_2,...,e_rhs)</synopsis>
    </refsynopsisdiv>
    <refsection>
        <title>Description</title>
        <para>
            With this command it is possible to use an external program
            as a Scilab command
            where  <literal>(s_1,s_2,...,s_lhs)</literal> are the output variables and
            <literal>(e_1,e_2,...,e_rhs)</literal> are the input variables. To insert this command
            in Scilab one has to write a few lines in the <literal>user</literal> fortran subroutine
            of Scilab.
        </para>
    </refsection>
    <refsection role="see also">
        <title>See also</title>
        <simplelist type="inline">
            <member>
                <link linkend="call">call</link>
            </member>
            <member>
                <link linkend="link">link</link>
            </member>
        </simplelist>
    </refsection>
</refentry>
