Main Content

Simulink.BlockCompDworkData

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 method of a block run-time object after the model that contains the block has been compiled.

Children

None

Property Summary

Name

Description

UsageDWork 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.

Data Type

Boolean

Access

RW for MATLAB S-Function blocks, RO for other blocks.

Version History

Introduced before R2006a