Documentation

Simulink.BlockCompDworkData

Provide postcompilation information about block's DWork vector

Description

Simulink® software returns an instance of this class when a MATLAB® program, e.g., a Level-2 MATLAB S-function, invokes the Dwork method of a block's run-time object after the model containing the block has been compiled.

Children

None

Property Summary

Name

Description

UsageUsage type of this DWork vector.

UsedAsDiscState

True if this DWork vector is being used to store the values of a block's discrete states.

Properties

Usage

Description

Returns a character vector indicating how this DWork vector is used. Permissible 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 of a block's discrete states.

Data Type

Boolean

Access

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

Introduced before R2006a

Was this topic helpful?