| LTPDA Toolbox™ | contents | ![]() |
SETALIASES Set the key-value pairs to the alias-names and alias-values %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: SETALIASES Set the key-value pairs to the alias-names and alias-values. This method will set the key-value pairs to the properties 'aliasNames' and 'aliasValues'. This method will not keep the existing aliases. CALL: obj = obj.setAliases('name', 'value'); obj = obj.setAliases(key-value pairs); obj = obj.setAliases(plist); obj = obj.setAliases(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'. 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 |
| setAliases | |||
| 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)) |
back to top
| Some information of the method smodel/setAliases are listed below: | |
|---|---|
| Class name | smodel |
| Method name | setAliases |
| Category | Helper |
| Package name | ltpda |
| Can be used as modifier | 1 |
| Supported numeric types | {'double'} |
|
Method: smodel/setAliasValues | Method: smodel/setDescription | ![]() |
©LTP Team