<< get_param Parameters is_param >>

Scilab Help >> Parameters > init_param

init_param

Initialize the structure which will handles the parameters list

Syntax

param_list = init_param(['param_name1',param_value1,...])

Arguments

param_list

an initialized list of parameters (if no input parameters are shipped, this list is empty and is of type plist).

Description

This function initialize an empty list of parameters. You must initialize the list of parameters before using it.

Examples

// Creation of an empty plist
mylist = init_param();
mylist = add_param(mylist,'minbound',[0 0 0]);

// Creation of a pre-filled plist
mylist_2 = init_param('minbound', [0 0 0], 'maxbound', [1 1 1]);

See also


Report an issue
<< get_param Parameters is_param >>