Main Content

本页的翻译已过时。点击此处可查看最新英文版本。

运行模型顾问检查

检查模型是否能够准确、高效地进行仿真

模型顾问可以检查模型或子系统,找出可能导致仿真不准确或效率不高的条件和配置设置。您可以指定要检查的条件和设置。请参阅使用模型顾问检查您的模型

函数

modeladvisor打开模型顾问

Simulink.ModelAdvisor 从 MATLAB 文件中运行模型顾问
ModelAdvisor.PreferencesSet Model Advisor window preferences by specifying which folders and tabs to display

模型检查

全部展开

Identify unconnected lines, input ports, and output ports
Check root model Inport block specifications
Check optimization settings
Check for parameter tunability information ignored for referenced models
Check for implicit signal resolution
Check for optimal bus virtuality
Check for calls to slDataTypeAndScale
Check for Discrete-Time Integrator blocks with initial condition uncertainty
Identify disabled library links
Identify parameterized library links
Identify unresolved library links
Identify configurable subsystem blocks for converting to variant subsystem blocks
Check usage of function-call connections
Runtime diagnostics for S-functions
Check if read/write diagnostics are enabled for data store blocks
Check Data Store Memory blocks for multitasking, strong typing, and shadowing issues
Consult the Upgrade Advisor
Check for non-continuous signals driving derivative ports
Check structure parameter usage with bus signals
Check for potentially delayed function-call subsystem return values
Identify block output signals with continuous sample time and non-floating point data type
Check usage of Merge blocks
Check usage of Outport blocks
Check usage of Discrete-Time Integrator blocks
Check data store block sample times for modeling errors
Check model settings for migration to simplified initialization mode
Check for potential ordering issues involving data store access
Identify questionable operations for strict single-precision design
Check model for foreign characters
Check Model History properties
检查对模型和库的引用中出现的大小写不匹配情况

主题

使用模型顾问检查您的模型

使用模型顾问检查您选择的模型或子系统的条件和配置设置,包括导致不准确或低效仿真的条件。

Address Model Check Results

After a Model Advisor analysis, you can highlight the results and fix check warnings.

Run Model Advisor Checks in Background

If you have Parallel Computing Toolbox™, you can run the Model Advisor in the background.

Save and View Model Advisor Check Reports

The Model Advisor generates an HTML report of the check results.

Find Model Advisor Check IDs

Find Model Advisor check IDs using the check context menus.

特色示例