1
1
<?xml version="1.0" encoding="UTF-8"?>
2
2
<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:html="http://www.w3.org/1999/xhtml" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="getNbOutputArgument" xml:lang="en">
4
<refname>getNbOutputArgument (Scilab gateway)</refname>
6
A C gateway function which provides the number of output
7
arguments present in the calling Scilab function
11
<title>Calling Sequence</title>
12
<synopsis>nb_params = getNbOutputArgument(void* _pvCtx)</synopsis>
13
<synopsis>nb_params = nbOutputArgument</synopsis>
14
<synopsis>nb_params = Lhs</synopsis>
17
<title>Arguments</title>
23
Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h
28
<term>nb_params</term>
31
the number of output arguments present in the calling Scilab
39
<title>Description</title>
41
getNbOutputArgument provides a C gateway function which provides the number of
42
output arguments present in the calling Scilab function. You must include
43
api_scilab.h to benefit from this function.
47
<title>Examples</title>
49
In this example, the C gateway function can take several output
50
arguments and prints in the Scilab console the integer corresponding to
51
the number of output arguments detected in the calling Scilab
54
<programlisting role="example">
4
<refname>getNbOutputArgument (Scilab gateway)</refname>
6
A C gateway function which provides the number of output
7
arguments present in the calling Scilab function
11
<title>Calling Sequence</title>
12
<synopsis>nb_params = getNbOutputArgument(void* _pvCtx)</synopsis>
13
<synopsis>nb_params = nbOutputArgument</synopsis>
14
<synopsis>nb_params = Lhs</synopsis>
17
<title>Arguments</title>
23
Scilab environment pointer, pass in "pvApiCtx" provided by api_scilab.h
28
<term>nb_params</term>
31
the number of output arguments present in the calling Scilab
39
<title>Description</title>
41
getNbOutputArgument provides a C gateway function which provides the number of
42
output arguments present in the calling Scilab function. You must include
43
api_scilab.h to benefit from this function.
47
<title>Examples</title>
49
In this example, the C gateway function can take several output
50
arguments and prints in the Scilab console the integer corresponding to
51
the number of output arguments detected in the calling Scilab
54
<programlisting role="example">
56
56
#include "api_scilab.h"
57
57
#include "sciprint.h"
67
<refsection role="see also">
68
<title>See Also</title>
69
<simplelist type="inline">
71
<link linkend="getNbInputArgument">getNbInputArgument</link>
74
<link linkend="sciprint">sciprint</link>
68
<refsection role="see also">
69
<title>See Also</title>
70
<simplelist type="inline">
72
<link linkend="getNbInputArgument">getNbInputArgument</link>
75
<link linkend="sciprint">sciprint</link>