Method smodel/setYunits
SETYUNITS sets the 'yunits' property of the smodel object.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: SETYUNITS sets the 'yunits' property of the smodel object.
CALL: objs.setYunits(val);
objs.setYunits(val1, val2);
objs.setYunits(plist('yunits', val));
objs = objs.setYunits(val);
INPUTS: objs: Can be a vector, matrix, list, or a mix of them.
val:
1. Single string e.g. 'Hz'
Each smodel object in objs get this value.
2. Single string in a cell-array e.g. {'Hz'}
Each smodel object in objs get this value.
3. cell-array with the same number of strings as in objs
e.g. {'Hz', 'V', 's'} and 3 smodel object in objs
Each smodel object in objs get its corresponding
value from the cell-array
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 |
setYunits |
YUNITS |
'' |
none |
The units for the Y variable. |
Example |
plist('YUNITS', '') |
back to top
Some information of the method smodel/setYunits are listed below: |
Class name |
smodel |
Method name |
setYunits |
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/setXvar |
|
Method: smodel/simplifyUnits |
 |
©LTP Team