Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.2 - English

Change language to:
Français - 日本語 - 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

Scilab Help >> Parameters > list_param

list_param

List all the parameters name in a list of parameters

Syntax

[string_list,err] = list_param(list_name)

Arguments

list_name

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

string_list

the list of parameters name.

err

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).

Description

List all the parameters name in a list of parameters. If the err output parameter is not present, when an error occurs, a message is printed in the console.

Examples

mylist = init_param();
mylist = add_param(mylist,'minbound',[0 0 0]);
mylist = add_param(mylist,'maxbound',[1 1 1]);
disp(list_param(mylist));

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
  • 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
<< is_param Parameters remove_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:
Thu Feb 14 14:57:23 CET 2019