Automatically size and connect blocks
Doug's pick this week is AutoSizeOnConnect by Mike Anthony.
I love the fact that Simulink provides a graphical view of the system being modeled, but being a stickler for clean looking models, I sometimes find myself spending time cleaning up lines, resizing blocks, and other graphical tweaks that aren't related to actually solving the problem I'm working on.
That's why I like my colleague Mike's simple tool that saves some time by automatically updating the number of ports and resizing blocks like mux and demux to quickly provide a clean connection to upstream or downstream blocks. After downloading and installing the code, you simply select the the blocks you want to connect to, right-click and choose AutoSizeOnConnect from the context menu, then click the mux or demux block. The result is a nice clean connection:
I also picked this entry because I think it's a great example of how you can customize the Simulink user interface to help streamline your workflow. Thanks Mike!
Give it a try and let us know what you think here or leave a comment for Mike.
- 범주:
- Picks
댓글
댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.