Method plist/setOptionsForParam
SETOPTIONSFORPARAM Sets the options of the param object in dependencies of the 'key'
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: Sets the options of the param object in dependencies of the
'key'.
CALL: obj = obj.setOptionsForParam('key', options);
obj = obj.setOptionsForParam(plist('KEY', 'key', 'OPTIONS', options));
obj = setOptionsForParam(obj, 'key', options);
INPUTS: obj - can be a vector, matrix, list, or a mix of them.
key - The key which should be changed
options - Possible options of the prameter object
pl - to set the default value of a key with a plist,
please specify only one plist with the key-words
'key' and 'options'
Parameters Description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| Method Details |
|
| Access |
public |
| Defining Class |
plist |
| Sealed |
0 |
| Static |
0 |
Parameter Description
| Sets for this method … |
| Default |
Default |
| no description |
| Key |
Default Value |
Options |
Description |
| utils.generic_getInfo |
| KEY |
'' |
none |
The key of the parameter to set the options for. |
| OPTIONS |
'{}' |
none |
A cell-array of options to set. |
Example |
| plist('KEY', '', 'OPTIONS', '{}') |
back to top
| Some information of the method plist/setOptionsForParam are listed below: |
| Class name |
plist |
| Method name |
setOptionsForParam |
| Category |
Helper |
| Package name |
ltpda |
| Can be used as modifier |
1 |
| Supported numeric types |
{'double'} |
|
Method: plist/setName |
|
Method: plist/setSelectionForParam |
 |
©LTP Team