Synchronize global data - Global data synchronization mode for a SIL or PIL execution - MATLAB (original) (raw)

Main Content

Global data synchronization mode for a SIL or PIL execution

Description

Settings

On

This value is the default value.

A SIL or PIL execution synchronizes the values of global variables in the SIL or PIL execution environment with the values in the MATLABĀ® workspace. If a global variable is constant and its value in the SIL or PIL execution environment differs from its value in the MATLAB workspace, an error occurs.

Off

The SIL or PIL execution does not synchronize the values of global variables in the SIL or PIL execution environment with the values in the MATLAB workspace. If the values are not synchronized, the results in MATLAB might differ from the results in the SIL or PIL execution.

It is possible to speed up a SIL or PIL execution by settingSILPILSyncGlobalData tofalse.

Programmatic Use

**Property:**SILPILSyncGlobalData
Values: true |false
Default: true

Version History

Introduced in R2017b