Guy on Simulink

Simulink & Model-Based Design

Automatically Improving Model Performance

自从我加入了技术支持部门金宝app数学工作,,,,one of the questions I received the most often is:

Can you make my model go faster?

Over the years I gained experience with model performance and I now have a list of things in my head that I know can help.

Some of us tried to share what we have learned in different ways. A couple years ago I wrote this post about模拟性能的提示,,,,and Seth recently published this article about改善模拟性能。

梦想

长期以来,Mathworks的许多人一直梦想着一种工具,该工具可以结合用户为自动调整模型设置而开发的所有技巧和技巧,并为最高性能提供建议。

I am pleased to introduce the绩效顾问

借助Simulin金宝appk Performance Advisor,您将能够专注于建模工作,而不是阅读有关绩效改进技巧的信息。

开始绩效顾问

您可以使用命令为模型启动绩效顾问PerformAnceDvisor('modelName')或从分析菜单中:

启动绩效顾问

窗口打开时,由于性能顾问是在模型顾问引擎上构建的,因此您可能会感到熟悉的感觉。

绩效顾问

创建基线

为了衡量模型的性能,我们首先需要基线。基线由标记为记录的信号以及模拟模型所需的时间。

有了这些信息,我们将能够验证模拟是否需要更少的时间运行,以及顾问建议的更改是否影响结果。

运行检查

对于每次检查,您可以决定自动或手动应用顾问建议。您还可以决定是否需要验证支票。

绩效顾问检查

如果您决定手动采取措施进行检查,顾问将向您展示其验证和建议的操作的清单。在可能的情况下,顾问将为您提供Modify Allbutton to apply the recommendations:

绩效顾问检查

Future

R2012b is the first version of the Performance Advisor. We are planning to add more and more checks every release. We are also thinking about giving users the ability to write their own tests.

Now it's your turn

I would be very happy to hear what kind of features you expect from a performance advisor and if you have suggestions for specific checks.

Please give it a try and let us know what you think by leaving a在这里评论

|

Comments

要发表评论,请单击here登录您的数学帐户或创建一个新帐户。