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!
Comments are closed.