Target Language Compiler    

Block State and Work Vector Functions

LibBlockContinuousState(ucv, lcv, idx)

Returns a string corresponding to the specified block continuous state (CSTATE) element.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockDWork(dwork, ucv, lcv, sigIdx)

Returns a string corresponding to the specified block DWORK element.

Note, the last input argument is overloaded to handle complex DWorks.

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 function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockDWorkAddr(dwork, ucv, lcv, idx)

Returns a string corresponding to the address of the specified block DWORK element.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockDWorkDataTypeId(dwork)

Returns the data type ID of specified block DWORK.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockDWorkDataTypeName(dwork, reim)

Returns the data type name of specified block DWORK.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockDWorkIsComplex(dwork)

Returns 1 if the specified block DWORK is complex, returns 0 otherwise.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockDWorkName(dwork)

Returns the name of the specified block DWORK.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockDWorkStorageClass(dwork)

Returns the storage class of specified block DWORK.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockDWorkUsedAsDiscreteState(dwork)

Returns 1 if the specified block DWORK is used as a discrete state, returns 0 otherwise.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockDWorkWidth(dwork)

Returns the width of the specified block DWORK.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockDiscreteState(ucv, lcv, idx)

Returns a string corresponding to the specified block discrete state (DSTATE) element.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockIWork(definediwork, ucv, lcv, idx)

Returns a string corresponding to the specified block IWORK element. See LibBlockRWork()

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockMode(ucv, lcv, idx)

Returns a string corresponding to the specified block MODE element.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockNonSampledZC(ucv, lcv, NonSampledZCIdx)

Returns a string corresponding to the specified block NonSampledZC.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockPWork(definedpwork, ucv, lcv, idx)

Returns a string corresponding to the specified block PWORK element. See LibBlockRWork().

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.

LibBlockRWork(definedrwork, ucv, lcv, idx)

Returns a string corresponding to the specified block RWORK element. The first argument, definedrwork, would typically be a symbol defined in the mdlRTW() routine of the C MEX file with something like the code below.

Alternately, if no such RWork defines have been made, definedrwork will be ignored and the raw RWork vector will be accessed. In this case all uses in a loop rolling context are disallowed.

See function in matlabroot/rtw/c/tlc/lib/blocklib.tlc.


  Parameter Functions Block Path and Error Reporting Functions