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:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="init_param" xml:lang="en">
15
<refname>init_param</refname>
16
<refpurpose>Initialize the structure which will handles the parameters
21
<title>Calling Sequence</title>
22
<synopsis>param_list = init_param(['param_name1',param_value1,...])</synopsis>
25
<title>Arguments</title>
28
<term>param_list</term>
30
<para>an initialized list of parameters (if no input
31
parameters are shipped, this list is empty and is
39
<title>Description</title>
40
<para>This function initialize an empty list of parameters. You must
41
initialize the list of parameters before using it.
45
<title>Examples</title>
46
<programlisting role="example"><![CDATA[
15
<refname>init_param</refname>
16
<refpurpose>Initialize the structure which will handles the parameters
21
<title>Calling Sequence</title>
22
<synopsis>param_list = init_param(['param_name1',param_value1,...])</synopsis>
25
<title>Arguments</title>
28
<term>param_list</term>
30
<para>an initialized list of parameters (if no input
31
parameters are shipped, this list is empty and is
39
<title>Description</title>
40
<para>This function initialize an empty list of parameters. You must
41
initialize the list of parameters before using it.
45
<title>Examples</title>
46
<programlisting role="example"><![CDATA[
47
47
// Creation of an empty plist
48
48
mylist = init_param();
49
49
mylist = add_param(mylist,'minbound',[0 0 0]);
51
51
// Creation of a pre-filled plist
52
52
mylist_2 = init_param('minbound', [0 0 0], 'maxbound', [1 1 1]);
53
53
]]></programlisting>
55
<refsection role="see also">
56
<title>See Also</title>
57
<simplelist type="inline">
59
<link linkend="add_param">add_param</link>
62
<link linkend="set_param">set_param</link>
65
<link linkend="get_param">get_param</link>
68
<link linkend="remove_param">remove_param</link>
71
<link linkend="is_param">is_param</link>
55
<refsection role="see also">
56
<title>See Also</title>
57
<simplelist type="inline">
59
<link linkend="add_param">add_param</link>
62
<link linkend="set_param">set_param</link>
65
<link linkend="get_param">get_param</link>
68
<link linkend="remove_param">remove_param</link>
71
<link linkend="is_param">is_param</link>