Method smodel/setParameters


  SETPARAMETERS Set some parameters to the symbolic model (smodel) object
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
  DESCRIPTION: SETPARAMETERS Set some parameters to the symbolic model
               (smodel) object. It is possible to set only the parameter
               name or to set the parameter names with their values.
               Exist the parameter-name in the object then replace this
               method the existing value.
 
  CALL:        obj = obj.setParameters(key-value pairs);
               obj = obj.setParameters(plist);
               obj = obj.setParameters(two cell-arrays);
               obj = obj.setParameters(single cell-array of names);
 
  INPUTS:      obj         - a ltpda smodel object.
               key-value   - A single key-value pair or a list of key-value
                             pairs. Thereby it is important that the key is
                             followed by the value.
               plist       - Parameter list with values for the keys
                             'params' and 'values'. The values can be a
                             single value or a cell array with multiple
                             values.
               cell-arrays - Two cell-arrays with the first of the 'params'
                             and the second with the 'values'.
 
  REMARK:      This function will replace the parameter value if the
               parameter name already exist
 
  Parameters Description
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details
Access public
Defining Class smodel
Sealed 0
Static 0

Parameter Description

Default

no description
Key Default Value Options Description
setParameters
PARAMS {} [0x0] none A cell-array with the parameter names.
VALUES {} [0x0] none A cell-array with the parameter values.

Example

plist('PARAMS', cell(0,0), 'VALUES', cell(0,0))

back to top back to top

Some information of the method smodel/setParameters are listed below:
Class name smodel
Method name setParameters
Category Helper
Package name ltpda
VCS Version 967b0eec0dece803a81af8ef54ad2f8c784b20b2
Min input args 1
Max input args -1
Min output args 1
Max output args -1
Can be used as modifier 1
Supported numeric types {'double'}




©LTP Team