家伙在simu金宝applink上

金宝app基于模型的设计

Pick of the week: Customizing Simulink

This week I am borrowing thePick of the Weekblog format pioneered by Scott and Doug and carried on by the three amigos: Bob, Brett and Jiro.

Simulink Pick of the Week

塞思本周的选择是Customizing the Simulink Interface DemobySaurabh Mahapatra

While browsing through thefile exchange, I clicked on theSimulink tag查看最新的simulink文件。金宝appSaurabh关于如何自定义Simulink界面的演示就在顶部。金宝app您可以真正欣赏此提交中的内容,甚至不下载。ZIP文件包含已发布的M文件,该文件记录并详细说明了每个自定义。((每个人都应该这样做!)

Customizing the Simulink Interface Demo on the MATLAB Central File Exhcange

Saurabh解释了如何对Simulink接口进行一些关键的自定义。金宝app

Reordering Libraries in Simulink Library Browser.

Reordered libraries in the Simulink library browser

If you don’t like the default order of libraries (alphabetical, with Simulink always on top), you can reorder them. This is particularly helpful if you use a pallet library to keep you custom blocks on hand. (I have previously blogged aboutadding custom libraries

Disabling and Hiding Libraries in Simulink Library Browser.

Hidden libraries and disabled libraries in Simulink

你为什么要这样做?好吧,我经常听到大型团队的要求,这些团队需要限制其设计中允许的块。如果您的团队不允许在其控制器模型中连续块,则可以使他们摆脱视线并阻止其插入从一开始就更容易。

定制模拟菜单。金宝app

添加到Simulink的自定义菜单金宝app

The example here is very simple, but I have used this one myself. I made a custom menu that would generate a bus object for the currently selected port or bus creator. This saved me the time of having to type金宝appsimulink.bus.createobject('model',“模型/公共汽车创建者”)

Disabling and Hiding Options in Configuration Parameters Dialog.

Disabling and hiding stuff in the configuration prarameters

Just about every menu and configuration parameter can be enabled/disabled and hidden. This flexibility helps when enforcing team modeling styles and preventing common errors because of mistaken settings.

Now it’s your turn

I hope you will下载文件, rate it, and leave comments. How do you use customizations? Leave me acomment here, or submit your own customizations to the file exchange!

|

注释

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