<< retrieve_td LABCOM Retrieve and dbStore Toolbox for Scilab

LABCOM Retrieve and dbStore Toolbox for Scilab >> LABCOM Retrieve and dbStore Toolbox for Scilab > setParam

setParam

Set a parameter to parameter's list for dbStore with LABCOM system.

Syntax

[out_list, tf_code] = setParam( param_list, pname, pvalue)

Input parameters

param_list (struct)

parameter's list, initialized by initParamList() or initParam2List()

pname (string)

parameter's name

pvalue (string,int,double)

parameter's value(scalar)

Output parameters

out_list (struct))

set parameter's list.

tf_code (boolean)

true(%T) is success of this function.

Description

This function is setting a parameter to parameter's list.

The type of the parameter's value is one of them of double, integer, string, And is scalar.

Examples

params = initParamList();
[params, tf_code] = setParam( params, 'offset', 10.0);

See also

Authors


Report an issue
<< retrieve_td LABCOM Retrieve and dbStore Toolbox for Scilab