Guy on Simulink

Simulink & Model-Based Design

社区最喜欢的加速器

在一个最近贴文,我开始了Simulink Workflow加速器的讨论。万博1manbetx这comments for that postwere a great look at ways people work with Simulink. The discussion reminded me of some tricks I had forgotten about, and I learned some new ones. Do you know what you can do with the left and right mouse button when you click together? How about the Q key?

Viewing the model

汉格利格斯分享说他最大的加速器是“结合使用鼠标和键盘”。他给出的例子是使用Shift +鼠标滚动轮来水平锅。单独使用鼠标滚轮垂直锅。

使用滚动轮将图表放在图表上

丹·卢克(Dan Lluch)足够好,可以指出“有很多方便的Simulink快捷键”万博1manbetx在文档中列出。他喜欢P和Q键,以及太空栏和F键。如果您用右手(像我一样)使用鼠标,则可以用左手推q,然后单击以拖动图表视图。如果您是左手鼠标用户,则P键将更加方便。设计此功能的开发人员使用鼠标左手。

用q或p和鼠标将图表放在图中

Editing the model

菲尔·泰勒通过提醒我们如何“在不删除它或连接到它的线路的线路上断开连接”来使讨论变得生动活泼。”在选择和拖动块之前,请保持换档,它将断开连接而不是用它拖动线路。这也适用于一组块。

菲尔还提出了一个工作流程,以通过手术剪断我们的图表中的复杂线条。“Imagine you’ve laid out a complicated connection path that feeds into lots of blocks (subsystems, scopes, displays, etc.) and you want to insert a block near the beginning of the path without deleting all the routing you’ve already laid down.” For single input, single output (SISO) blocks, this is as easy as just dropping the block on the line where you want to add the block. This will automatically insert the block into the line. If the block has multiple inputs and outputs, Phil suggests using SISO blocks to break the line and then deleting those blocks to get the signals you want.

I have reproduced this workflow with a little animation below.

Phils破坏多行的技术

Devdatt Lad,,,,a developer at the MathWorks, reminded me that you can “disconnect a block from a line without deleting it by using both mouse buttons simultaneously to select and drag it.”

Devdatt also pointed out the right click option to align, distribute and resize blocks.

使用右键单击选项对齐和分发块

现在轮到你了

Are there other accelerators you use that we have not talked about here? How do you like the animated GIF files in this blog post? Leave a在这里评论and add to the conversation.

|

Comments

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