Name

get_param — Get the value of a parameter in a parameter list

Calling Sequence

[res,err] = get_param(list_name,param_name)

Parameters

list_name

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

param_name

a string. The name of the parameter to be add in the list of parameters.

res

the value of the parameter. If the parameter doesn't exist, res = [].

err

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

Description

  • This function returns the value of the parameter param_name in a parameter list.

Examples

   mylist = init_param();
   mylist = add_param(mylist,'minbound',[0 0 0]);
   disp(get_param(mylist,'minbound'));
  

See Also

init_param , set_param , add_param , remove_param , is_param

Authors