Simulink.BlockCompDworkData - Provide post-compilation information about block DWork
vector - MATLAB ([original](https://in.mathworks.com/help/simulink/slref/simulink.blockcompdworkdata.html)) ([raw](?raw))
Main Content
Provide post-compilation information about block DWork
vector
Description
The software returns an instance of this class when a MATLABĀ® program, such as a Level-2 MATLAB S-function, invokes the [Dwork](simulink.runtimeblock.html#f29-85585)
method of a block run-time object after the model that contains the block has been compiled.
Property Summary
Name | Description |
---|---|
Usage | DWork vector usage type |
UsedAsDiscState | true if this DWork vector is used to store the values of discrete states of the block |
Properties
Usage
Description
Returns a character vector indicating how this DWork
vector is used. Possible values are:
DWork
DState
Scratch
Mode
Data Type
character vector
Access
RW
for MATLAB S-function blocks, RO
for other blocks.
UsedAsDiscState
Description
true
if this DWork
vector is being used to store the values discrete states of the block.
Access
RW
for MATLAB S-Function blocks, RO
for other blocks.
Version History
Introduced before R2006a