| Real-Time Workshop® | ![]() |
Returns a string corresponding to the specified block continuous state (CSTATE) element.
See LibBlockContinuousState in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns a string corresponding to the specified block continuous state (CSTATE) element.
See also LibBlockDiscreteState.
See LibBlockContinuousStateDerivative in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns a string corresponding to the specified block continuous state (CSTATE) element.
See also LibBlockDiscreteState.
See LibBlockContStateDisabled in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns a string corresponding to the specified block dwork element. The last input argument is overloaded to handle complex dworks.
idx = "re3" — Returns the real part of element 3 if dwork is complex, otherwise returns element 3.
idx = "im3" — Returns the imaginary part of element 3 if dwork is complex, otherwise returns "".
idx = "3" — Returns the complex container of element 3 if dwork is complex, otherwise returns element 3.
If either ucv or lcv is specified (i.e., it is not equal to "") then the index part of the last input argument (sigIdx) is ignored.
See LibBlockDWork in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns a string corresponding to the address of the specified block dwork element.
See LibBlockDWorkAddr in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns the data type ID of the specified block dwork.
See LibBlockDWorkDataTypeId in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns the data type name of the specified block dwork.
See LibBlockDWorkDataTypeName in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns 1 if the specified block dworkis complex. Returns 0 otherwise.
See LibBlockDWorkIsComplex in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns the name of the specified block dwork.
See LibBlockDWorkName in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns the storage class of the specified block dwork.
See LibBlockDWorkStorageClass in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns the storage type qualifier of the specified block dwork.
See LibBlockDWorkStorageTypeQualifier in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns 1 if the specified block dwork is used as a discrete state, returns 0 otherwise.
See LibBlockDWorkUsedAsDiscreteState in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns the width of the specified block dwork.
See LibBlockDWorkWidth in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns a string corresponding to the specified block discrete state (DSTATE) element.
See LibBlockDiscreteState in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns a string corresponding to the specified block IWORK element. See LibBlockRWork.
See LibBlockIWork in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns a string corresponding to the specified block MODE element.
See LibBlockMode in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns a string corresponding to the specified block NSZC.
LibBlockNonSampledZC returns the appropriate element for the nonsampled zero-crossing state based on ucv, lcv, and NSZCIdx.
ucv — User control variable string
lcv — Loop control variable string
NSZCIdx — Nonsampled zero-crossing index
See LibBlockNonSampledZC in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns a string corresponding to the specified block PWORK element. See LibBlockRWork.
See LibBlockPWork in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns a string corresponding to the specified block RWORK element. The first argument, definedrwork, is a symbol defined in the mdlRTW routine of the C MEX file with code like:
ssWriteRTWWorkVect([...], "RWork", [...], "MyRWorkName", [...])
Alternatively, if no such RWork defines have been made, definedrwork is ignored and the raw RWork vector is accessed. In this case, all uses in a loop rolling context are disallowed.
See LibBlockRWork in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
Returns a string corresponding to the specified block ZCSignalValue
:
User control variable string.
Loop control variable string.
zc signal Idx
Idx of zc signal element in the zc signal
LibBlockZCSignalValue returns the appropriate element for the zero crossing state based on ucv, lcv, and zcsIdx.
See LibBlockZCSignalValue in matlabroot/rtw/c/tlc/lib/blocklib.tlc.
![]() | Parameter Functions | Block Path and Error Reporting Functions | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |