Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.1 - Français

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Aide Scilab >> Parameters > init_param

init_param

Initialize the structure which will handles the parameters list

Calling Sequence

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

  • add_param — Add a parameter to a list of parameters
  • set_param — Set the value of a parameter in a parameter list
  • get_param — Get the value of a parameter in a parameter list
  • remove_param — Remove a parameter and its associated value from a list of parameters
  • is_param — Check if a parameter is present in a parameter list
Report an issue
<< get_param Parameters is_param >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Apr 02 17:36:47 CEST 2013