Method smodel/setXunits
SETXUNITS sets the 'xunits' property of the smodel object.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: SETXUNITS sets the 'xunits' property of the smodel object.
CALL: objs.setXunits(val);
objs.setXunits(plist('xunits', val));
objs = objs.setXunits(val);
INPUTS: objs: Can be a vector, matrix, list, or a mix of them.
val: Can be one of the following types:
- unit-string
- unit-object
- plist with the key 'xunits'
- cell with the types above
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 |
setXunits |
XUNITS |
'' |
none |
The units for the X variable. |
Example |
plist('XUNITS', '') |
back to top
Some information of the method smodel/setXunits are listed below: |
Class name |
smodel |
Method name |
setXunits |
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/setValues |
|
Method: smodel/setXvals |
 |
©LTP Team