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

10 Model Advisor Checks

Condition

Recommended Action

 

 

 

Simulink will maintain these

 

settings because their parent

 

conditionally executed subsystems

 

are connected to SimEvents blocks.

Check for a migration conflict for

For these Outport blocks, the signal

innermost Outport blocks with

size varies only when the parent

variable-size input and unspecified

subsystem of the block is re-enabled.

’Initial output’.

Therefore, Simulink implicitly

 

assumes that the Initial output

 

parameter is equal to 0, even though

 

the parameter is unspecified, [].

 

Consequently, unless you specify

 

the parameter, the Model Advisor

 

will explicitly set the parameter to 0

 

when the model is migrated to the

 

simplified initialization mode.

 

Other instances of Outport blocks

 

with the same library link either

 

cannot be migrated or are being

 

migrated in a different manner.

 

Review the results from the Check

 

for library blocks with instances

 

that cannot be migrated to learn

 

about the different migration paths

 

for other instances of each Outport

 

block.

Check for a migration conflict for

Review the results from subcheck

merged Outport blocks without

Check for library blocks with

explicit specification of ’Initial

instances that cannot be

output’.

migrated to learn about different

 

migration paths for other instances

 

of each Outport block

Action Results

Clicking Modify Settings causes the following:

10-52

Simulink® Checks

The Model parameter is set to simplified

If an Outport block has the Initial output parameter set to the empty string , [] , then the SourceOfInitialOutputValue parameter is set to

Input signal.

If an Outport has an empty Initial output and a variable-size signal, then the Initial output is set to zero.

See Also

“Consult the Model Advisor”

“Simulink Checks” on page 10-2

“Check for proper bus usage” on page 10-32

Merge block

Discrete-Time Integrator block

Outport block

“Mux blocks used to create bus signals”

“Bus signal treated as vector”

“Detect multiple driving blocks executing at the same time step”

“Underspecified initialization detection”

10-53

10 Model Advisor Checks

10-54

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