Method smodel/addAliases
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 |
Parameter Description
Sets for this method … |
Default |
Default |
no description |
Key |
Default Value |
Options |
Description |
NAMES |
{} [0x0] |
none |
A cell-array with the alias names. |
VALUES |
{} [0x0] |
none |
A cell-array with the alias values. |
back to top
Some information of the method smodel/addAliases are listed below: |
Class name |
smodel |
Method name |
addAliases |
Category |
Helper |
Package name |
ltpda |
VCS Version |
3542afe99dea25c636b7ac3b82a9f6f8be9d447d |
Min input args |
1 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
-1 |
|
Method: smodel/smodel |
|
Method: smodel/addParameters |
 |
©LTP Team