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

10 Model Advisor Checks

Check for optimal bus virtuality

Identify virtual buses that could be made nonvirtual. Making these buses nonvirtual improves generated code efficiency.

Description

This check identifies blocks incorporating virtual buses that cross a subsystem boundary. Changing these to nonvirtual improves generated code efficiency.

Results and Recommended Actions

 

Condition

Recommended Action

 

 

Blocks that specify a virtual bus crossing a

Change the highlighted bus

 

 

subsystem boundary.

to nonvirtual.

 

 

 

 

 

Capabilities and Limitations

You can run this check on your library models.

See Also

“Signal Basics”.

“Virtual and Nonvirtual Buses”.

10-12

Simulink® Checks

Check for Discrete-Time Integrator blocks with initial condition uncertainty

Identify Discrete-Time Integrator blocks with state ports and initial condition ports that are fed by neither an Initial Condition nor a Constant block.

Description

Discrete-Time Integrator blocks with state port and initial condition ports might not be suitably initialized unless they are fed from an Initial Condition or Constant block. This is more likely to happen when Discrete-Time Integrator blocks are used to model second-order or higher-order dynamic systems.

Results and Recommended Actions

 

Condition

Recommended Action

 

 

Discrete-Time Integrator blocks are not

Add a Constant or Initial

 

 

initialized during the model initialization

Condition block to feed the

 

 

phase.

external Initial Condition

 

 

 

port.

 

Capabilities and Limitations

You can run this check on your library models.

See Also

IC block

Discrete-Time Integrator block

Constant block

10-13

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