Simulink.GlobalDataTransfer class

Package: Simulink

Configure concurrent execution data transfers

Description

The Simulink.GlobalDataTransfer object contains the data transfer information for the concurrent execution of a model. To access the properties of this class, use the get_param function to get the handle for this class, and then use dot notation to access the properties. For example:

dt=get_param(gcs,'DataTransfer');
dt.DefaultTransitionBetweenContTasks

ans =

Ensure deterministic transfer (minimum delay)

Properties

DefaultTransitionBetweenSyncTasks

Global setting for data transfer handling option when the source and destination of a signal are in two different and periodic tasks.

Data Type: Enumeration. Can be one of:

  • 'Ensure data integrity only'

  • 'Ensure deterministic transfer (maximum delay)'

Access: Read/write

DefaultTransitionBetweenContTasks

Global setting for the data transfer handling option for signals that have a continuous sample time.

Data Type: Enumeration. Can be one of:

  • 'Ensure data integrity only'

  • 'Ensure deterministic transfer (maximum delay)'

Access: Read/write

DefaultExtrapolationMethodBetweenContTasks

Global setting for the data transfer extrapolation method for signals that have a continuous sample time.

Data Type: Enumeration. Can be one of:

  • 'None'

  • 'Zero Order Hold'

  • 'Linear'

  • 'Quadratic'

Access: Read/write

AutoInsertRateTranBlk

Setting for whether or not Simulink software automatically inserts hidden Rate Transition blocks between blocks that have different sample rates to ensure the integrity of data transfers between tasks; and optional determinism of data transfers for periodic tasks.

Data Type: Boolean. Can be one of:

  • 0

  • 1

Access: Read/write

Copy Semantics

Handle. To learn how handle classes affect copy operations, see Copying Objects in the MATLAB® documentation.

Examples

Access the properties of this class.

dt=get_param(gcs,'DataTransfer');
dt.DefaultTransitionBetweenContTasks

ans =

Ensure deterministic transfer (minimum delay)
Was this topic helpful?