Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
slref.pdf
Скачиваний:
39
Добавлен:
26.03.2015
Размер:
16.01 Mб
Скачать

Simulink® Checks

Check if read/write diagnostics are enabled for data store blocks

For data store blocks in the model, enable the read-and-write diagnostics order checking to detect run-time issues.

Description

Check for the read-and-write diagnostics order checking. By enabling the read-and-write diagnostics, you detect potential run-time issues.

Results and Recommended Actions

 

Condition

Recommended Action

 

 

The Detect read before write

Consider enabling “Detect read

 

 

check is disabled.

before write” in the Configuration

 

 

 

Parameter dialog box Diagnostics>

 

 

 

Data Validity pane.

 

 

The Detect write after read check

Consider enabling “Detect write

 

 

is disabled.

after read” in the Configuration

 

 

 

Parameter dialog box Diagnostics>

 

 

 

Data Validity pane.

 

 

The Detect write after write

Consider enabling “Detect write

 

 

check is disabled.

after write” in the Configuration

 

 

 

Parameter dialog box Diagnostics>

 

 

 

Data Validity pane.

 

Tips

.

The run-time diagnostics can slow simulations down considerably. Once you have verified that Simulink does not generate warnings or errors during simulation, set them to Disable all.

See Also

“About Data Stores”

10-23

10 Model Advisor Checks

Data Store Memory

Data Store Read

Data Store Write

“Detect read before write”

“Detect write after read”

“Detect write after write”

“Check for potential ordering issues involving data store access” on page 10-26

10-24

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]