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

10 Model Advisor Checks

Check model for known block upgrade issues

Uses the slupdate function to check for common block upgrade issues.

Description

Check blocks in the model for compatibility issues resulting from using a new version of Simulink software.

Results and Recommended Actions

 

Condition

Recommended Action

 

 

Blocks with compatibility issues found.

Click Modify to fix all

 

 

 

detected block issues.

 

 

Check update status for the Level 2 API

Consider replacing Level 1

 

 

S-functions.

S-functions with Level 2.

 

Action Results

Clicking Modify replaces blocks from a previous release of Simulink software with the latest versions.

See Also

slupdate.

“Write Level-2 MATLAB S-Functions”.

“Consult the Upgrade Advisor”.

“Model Upgrades”

10-64

Simulink® Checks

Check model for known block upgrade issues requiring compile time information

Uses the slupdate function to check for common block upgrade issues.

Description

Check blocks for compatibility issues resulting from upgrading to a new version of Simulink software. Some block upgrades require the collection of information or data when the model is in the compile mode. For this check, the model is set to compiled mode and then checked for upgrades.

Results and Recommended Actions

 

Condition

Recommended Action

 

 

Model contains Lookup Table or Lookup

Replace Lookup Table blocks

 

 

Table (2-D) blocks and some of the blocks

and Lookup Table (2-D)

 

 

specify Use Input Nearest or Use Input

blocks with n-D Lookup Table

 

 

Above for a lookup method.

blocks. Do not apply Use

 

 

 

Input Nearest or Use Input

 

 

 

Above for lookup methods;

 

 

 

select another option.

 

 

Model contains Lookup Table or Lookup

Replace Lookup Table blocks

 

 

Table (2-D) blocks and some blocks perform

and Lookup Table (2-D)

 

 

multiplication first during interpolation.

blocks with n-D Lookup Table

 

 

 

blocks. However, because

 

 

 

the n-D Lookup Table block

 

 

 

performs division first, this

 

 

 

replacement might cause a

 

 

 

numerical difference in the

 

 

 

result.

 

 

Model contains Lookup Table or Lookup

Replace Lookup Table blocks

 

 

Table (2-D) blocks. Some of these blocks

and Lookup Table (2-D)

 

 

specify Interpolation-Extrapolation as

blocks with n-D Lookup Table

 

 

the Lookup method but their input and

blocks. Then change the

 

 

output are not the same floating-point type.

extrapolation method or the

 

 

 

port data types for block

 

 

 

replacement.

 

10-65

10 Model Advisor Checks

Action Results

Clicking Modify replaces blocks from a previous release of Simulink software with the latest versions.

See Also

slupdate.

n-D Lookup Table.

“Consult the Upgrade Advisor”.

“Model Upgrades”

10-66

10 Model Advisor Checks

10-67

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