Skip to contents

Assigns a value for a named parameter in a parameter list.

Usage

system_set_parameter(cfg, parameters, pname, value)

Arguments

cfg

ubiquity system object

parameters

vector of parameters

pname

parameter name

value

value

Value

parameters vector with pname set to value

Details

To set the parameter Vc to a value of 3, the following would be used:

parameters = system_fetch_parameters(cfg) 
parameters = system_set_parameter(cfg, parameters, pname = 'Vc', value = 3)