Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 其它 > 资料存档 > MATLAB技术文章
MATLAB技术文章 MATLAB Technical Articles From Mathworks
回复
 
主题工具 显示模式
旧 2008-01-06, 16:32   #1
TechnicalArticles
游客
 
帖子: n/a
默认 Tips and Tricks - Checking Your Model with Simulink Model Advisor

Tips and Tricks
Checking Your Model with Simulink Model Advisor



By Dan Lluch
  • Have you configured the best set of optimization options for your Simulink model?
  • Can you find all instances of unconnected blocks in your models?
  • How do you promote best practices, such as specifying the root level input port information?
  • How do you check that the model is ready for production code generation?
The Simulink Model Advisor enables you to check models for conditions and configuration settings to produce efficient models and generated code. You can run the Model Advisor at any time in the development cycle.
Checking with the Model Advisor lets you avoid problems that arise from incomplete models or poor modeling style and reminds you of the recommended settings. You can customize the checks using Simulink Verification and Validation 1.1.1. For instance, you can check that:
  • All subsystem blocks have a blue background color
  • All Sum blocks are square
  • All library-linked blocks come from your company’s custom libraries
Real-Time Workshop provides several Model Advisor demo models. To view them, type modeladvisor(‘rtwdemo_advisor1’) at the MATLAB command line.
Click on image to see enlarged view.
You can use an M-based API to customize the full contents of the Model Advisor. To see a customization demo, type slvnvdemo_mdladv at the MATLAB command prompt.
Using M scripting language and the Simulink API together with the expert advice of the Model Advisor, you can let your imagination and requirements guide you to more accurate, efficient simulations and well-constructed code. Please share your custom model checks with other MATLAB users worldwide by uploading them to MATLAB Central File Exchange.


更多...
  回复时引用此帖
回复


发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛启用 HTML 代码



所有时间均为北京时间。现在的时间是 19:32


Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.