Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語

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

Aide Scilab >> Parameters > remove_param


Remove a parameter and its associated value from a list of parameters

Calling Sequence

[param_list,err] = remove_param(list_name,param_name)



the list of parameters. This list must have been initialize by a call to init_param.


a string. The name of the parameter to be removed from the list of parameters. If the parameter does not exist, nothing happens.


the updated list of parameters.


an error flag which is set to %T if list_name is not of type plist (this list has not been initialized by a call to init_param).


This function allows to remove a parameter and its associated value from a list of parameters. If the err output parameter is not present, when an error occurs, a message is printed in the console.


mylist = init_param();
mylist = add_param(mylist,'minbound',[0 0 0]);
mylist = add_param(mylist,'maxbound',[0 0 0]);
mylist = remove_param(mylist,'minbound');

See Also

  • init_param — Initialize the structure which will handles the parameters list
  • set_param — Set the value of a parameter in a parameter list
  • get_param — Get the value of a parameter in a parameter list
  • add_param — Add a parameter to a list of parameters
  • is_param — Check if a parameter is present in a parameter list


Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:11:02 CEST 2011