家伙在simu金宝applink上

金宝app基于模型的设计

Automatic Refresh of Links and Model Blocks

The first time I tried editing models componentized with library blocks and referenced models in R2012a, I noticed something was different...

。。。and I really like that change!

What's new

In R2012a, Simulink自动刷新链接和模型块。Yes, you heard me, no longer need to manually selectEdit > Links and Model Blocks > Refreshfor your model to realize a change in a library or model block.

Here's how it works.

Model Block

Before R2012a, when changing the number of ports of a referenced model, you had to manually selectEdit > Links and Model Blocks > Refresh为了使模型块更新其端口。在R2012A中,保存引用模式会自动更新父块:

自动更新模型块

Library Blocks

When you edit a library block, Simulink indicates stale links by displaying the linked blocks grayed out. When you click in the model, as soon as the window becomes active Simulink refreshes any stale links with what is in the library, even if you have not saved the library yet.

Automatic update of library blocks

现在轮到你了

Try this new behavior and let us know if you are as happy as I am by leaving acomment here

|

评论

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