Main Content

Implement each data store block as a unique access point

Whether to generate unique variable for each read and write operation on Data Store Memory block

Model Configuration Pane: Code Generation / Interface

Description

The Implement each data store block as a unique access point parameter specifies whether the code generator produces a unique variable to hold the value for each Data Store Read and Data Store Write block that operates on a Data Store Memory block.

Settings

Off (default) | On
On

Enables generation of a unique variable for each Data Store Read and Data Store Write block that operates on a Data Store Memory block. The unique variables enhance data coherency.

Off

Disables generation of a unique variable for each read and write operation on a Data Store Memory block. The absence of unique variables diminishes data coherency.

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: DSAsUniqueAccess
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2018b