Main Content

Simulink.GlobalDataTransfer class

Package: Simulink
Superclasses:

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)'

  • 'Ensure deterministic transfer (minimum 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)'

  • 'Ensure deterministic transfer (minimum 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

Copy Semantics

Handle. To learn how handle classes affect copy operations, see Copying Objects.

Examples

Access the properties of this class.

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

ans =

Ensure deterministic transfer (minimum delay)