家伙在simu万博1manbetxlink上

万博1manbetx基于模型的设计

模拟Data Inspector in R2018a

Over the past few releases, many enhancements have been added to the Simulation Data Inspector. Let's look at a few of those I particularly like.

浏览模式

默认情况下,在仿真数据检查器中,您选择通过检查和取消选中每个信号的复选框或将它们拖动在要绘制它们的轴上,通过检查和取消选中的复选框来显示哪些信号。这是一个简单的示例模型的外观。

Select Mode

While this can be useful for some workflows, when I debug models, what I usually need is to scan a large number of signals as fast as possible. For that, we introduced浏览模式。Here is how to enable Browse Mode:

选择浏览模式

Now I can use the arrow keys to browse the signals, along with Ctrl and Shift keys for multi-selection like in most applications. Here is me browsing logged signals for the same model:

浏览模式

Seethis documentation pagefor more information on Browse Mode

Simscape Enhancements

在R2018A中,我们添加了将SIMSCAPE数据直接记录在仿真数据检查器中的可能性。可以从模型配置的SIMSCAPE部分启用这一点:

选择浏览模式

Another capability that has been added to the Simulation Data Inspector is the possibility to visualize logged data in different units. If I enable the Units column in the signal list, I can see a list of commensurate units from which I can choose from.

Here is one more animation to demonstrate this feature. I have Simscape data logged in the Simulation Data Inspector, I chose to hide the column showing the line color, I enabled the Units column, and I grouped the signal using the Physical System Hierarchy, in Browse Mode:

SDI中的SIMSCAPE数据

现在轮到你了

Please share any features you use to improve your workflow in the Simulation Data Inspector in the comments below.

|

注释

To leave a comment, please click这里to sign in to your MathWorks Account or create a new one.