LTPDA Toolbox™ | contents | ![]() ![]() |
ADDALIASES Add the key-value pairs to the alias-names and alias-values %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: ADDALIASES Add the key-value pairs to the alias-names and alias-values. This method will add the key-value pairs to the properties 'aliasNames' and 'aliasValues'. If the alias-name exist then replace this method the existing value with the new value. CALL: obj = obj.addAliases('name', 'value'); obj = obj.addAliases(key-value pairs); obj = obj.addAliases(plist); obj = obj.addAliases(two cell-arrays); 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 'names' and 'values'. The values can be a single value or a cell array with multiple values. The number of 'names' and 'values' must be the same. cell-arrays - Two cell-arrays with the first of the 'names' and the second with the 'values'. REMARK: This function will replace the alias-value if the alias-names already exist Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details | |
---|---|
Access | public |
Defining Class | smodel |
Sealed | 0 |
Static | 0 |
Sets for this method … |
---|
Default |
Default |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
addAliases | |||
NAMES | {} [0x0] | none | A cell-array with the alias names. |
VALUES | {} [0x0] | none | A cell-array with the alias values. |
Example |
---|
plist('NAMES', cell(0,0), 'VALUES', cell(0,0)) |
Some information of the method smodel/addAliases are listed below: | |
---|---|
Class name | smodel |
Method name | addAliases |
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'} |
![]() |
Method: smodel/smodel | Method: smodel/addParameters | ![]() |
©LTP Team