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

Simulink® Checks

Results and Recommended Actions

 

Condition

Recommended Action

 

 

Diagnostics > Connectivity >

Set Diagnostics > Connectivity >

 

 

Invalid function-call connection

Invalid function-call connection

 

 

is set to none or warning. This

to error.

 

 

might lead to non-deterministic

 

 

 

model execution.

 

 

 

Diagnostic > Connectivity >

Set Diagnostics > Connectivity

 

 

Context-dependent inputs is

> Context-dependent inputs to

 

 

set to Disable All or Use local

Enable all as errors.

 

 

settings. This might lead to

 

 

 

non-deterministic model execution.

 

 

See Also

Function-Call Subsystem

Check signal logging save format

Check signal logging save format.

Description

Check signal logging save format. The signal logging save format ModelDataLogs will be removed in a future release. To take advantage of new functionality, update any models using ModelDataLogs format to use

Dataset format.

10-19

10 Model Advisor Checks

Results and Recommended Actions

 

Condition

Recommended Action

 

 

The model has the signal logging

No action required.

 

 

format set to Dataset.

 

 

 

The model has the signal logging

Use the Upgrade Advisor (with

 

 

format set to ModelDataLogs.

the upgradeadvisor function) to

 

 

 

upgrade a model to use Dataset

 

 

 

format. Enable the Check signal

 

 

 

logging save format check, run the

 

 

 

check, and click the Update format

 

 

 

button.

 

 

The model contains Model blocks.

Use the Upgrade Advisor (with

 

 

All models in the model reference

the upgradeadvisor function) to

 

 

hierarchy require the same signal

upgrade a model to use Dataset

 

 

logging save format.

format. Enable the Check signal

 

 

 

logging save format check, run the

 

 

 

check, and click the Update format

 

 

 

button.

 

See Also

“Specify the Signal Logging Data Format”

10-20

Simulink® Checks

Check Data Store Memory blocks for multitasking, strong typing, and shadowing issues

Look for modeling issues related to Data Store Memory blocks.

Description

Checks for multitasking data integrity, strong typing, and shadowing of data stores of higher scope.

Results and Recommended Actions

 

Condition

Recommended Action

 

 

The Duplicate data store

Consider setting the “Duplicate data

 

 

names check is set to none or

store names” check to error in the

 

 

warning.

Configuration Parameters dialog box, on

 

 

 

the Diagnostics > Data Validity pane.

 

 

The data store variable names

Specify a data type other than auto by

 

 

are not strongly typed in one of

taking one of the following actions:

 

 

the following:

Choose a data type other than

 

 

Signal Attributes pane

Inherit: auto on the Signal

 

 

of the Block Parameters

Attributes pane of the Block

 

 

dialog for the Date Store

Parameters dialog for the Date Store

 

 

Memory block

Memory block.

 

 

Global data store name

If you are using a global data store

 

 

 

name, then specify its data type in the

 

 

 

Simulink.Signal object.

 

 

The Multitask data store

Consider setting the “Multitask

 

 

check is set to none or warning.

data store” check to error in the

 

 

 

Configuration Parameters dialog box, on

 

 

 

the Diagnostics > Data Validity pane.

 

See Also

“About Data Stores”

“Storage Classes for Data Store Memory Blocks”

10-21

10 Model Advisor Checks

Data Store Memory

Data Store Read

Data Store Write

“Duplicate data store names”

“Multitask data store”

10-22

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