Simulink Reference Previous page   Next Page
Simulink.BlockData

Provide runtime information about block-related data, such as block parameters.

Description

This class defines properties that are common to objects that provide runtime information about a block's ports and work vectors.

Parent

none

Children

Simulink.BlockPortData, Simulink.BlockCompDworkData

Property Summary

Name
Description
Complexity
Numeric type (real or complex) of the block data.
Data
The block data.
DataAsDouble
The block data in double form.
Datatype
Data type of the block data.
DatatypeID
Index of the data type of the block data.
Dimensions
Dimensions of the block data.
Name
Name of the block data.
Type
Type of block data (e.g., a parameter).

Properties


Complexity

Description:   Numeric type (real or complex) of the block data.

Data Type:   string

Access:   RW for M-file S functions, RO for other blocks.



Data

Description:   The block data.

Data Type:   The data type specified by the Datatype or DatatypeID properties of this object.

Access:   RW



DataAsDouble

Description:   The block data's in double form.

Data Type:   double

Access:   RO



Datatype

Description:   Data type of the values of the block-related object.

Data Type:   string

Access:   RO



DatatypeID

Description:   Index of the data type of the values of the block-related object.

Data Type:   integer

Access:   RW for M-file S functions, RO for other blocks



Dimensions

Description:   Dimensions of the block-related object, e.g., parameter or DWork vector.

Data Type:   array

Access:   RW for M-file S functions, RO for other blocks



Name

Description:   Name of block-related object, e.g, a block parameter or Dwork vector.

Data Type:   string

Access:   RW for M-file S functions, RO for other blocks



Type

Description:   Type of block data. Possible values are:

Type
Description
'BlockPreCompInputPortData'
This object contains data for an input port before the model is compiled.
'BlockPreCompOutputPortData'
This object contains data for an output port before the model is compiled.
'BlockCompInputPortData'
This object contains data for an input port after the model is compiled.
'BlockCompOutputPortData'
This object contains data for an output port after the model is compiled.
'BlockPreCompDworkData'
This object contains data for a Dwork vector before the model is compiled.
'BlockCompDworkData'
This object contains data for a Dwork vector after the model is compiled.
'BlockDialogPrmData'
This object describes a dialog box parameter of a Level-2 M-file S-function.
'BlockRuntimePrmData'
This object describes a runtime parameter of a Level-2 M-file S-function.
'BlockCompContStatesData'
This object describes the continous states of the block at the current time step.
'BlockDerivativesData'
This object describes the derivatives of the block's continuous states at the current time step.

Data Type:   string

Access:   RO


Previous page  Simulink.BlockCompOutputPortData Simulink.BlockPortData Next page

© 1994-2005 The MathWorks, Inc.