Documentation

Simulink.GlobalDataTransfer class

Package:万博1manbetx
Superclasses:

Configure concurrent execution data transfers

Description

TheSimulink.GlobalDataTransferobject contains the data transfer information for the concurrent execution of a model. To access the properties of this class, use theget_paramfunction 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:

  • “没有”

  • 'Zero Order Hold'

  • 'Linear'

  • 'Quadratic'

Access: Read/write

AutoInsertRateTranBlk

Setting for whether or not Simulink software automatically inserts hiddenRate Transitionblocks 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, seeCopying Objects(MATLAB).

Examples

Access the properties of this class.

dt=get_param(gcs,'DataTransfer'); dt.DefaultTransitionBetweenContTasks ans = Ensure deterministic transfer (minimum delay)
Was this topic helpful?