File Exchange

image thumbnail

AutoSize

version 1.3.0.1 (13.3 KB) by Mike Anthony
Automatically resize MIMO blocks upon connection.

1 Download

Updated 01 Sep 2016

View Version History

View License

In Simulink, it is often the case where a user wants to connect multiple blocks to another block, particularly in case of mux, demux, and bus creator blocks. The typical practice is to select multiple blocks, hold control, and select the mux block (for example). This done, the blocks are all automatically connect. The next step is then typically a manual resize of the mux block by the user to make all of the lines just created straight.
This functional will automatically resize the block when the lines are initially drawn to eliminate the manual step of doing so.

Open the included model AutoSizeTest.mdl and follow the instructions to see an example of the functionality.

Cite As

Mike Anthony (2020). AutoSize (https://www.mathworks.com/matlabcentral/fileexchange/31575-autosize), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Brian Holm-Hansen

Excellent set of tools (InputAutoSize and OutputAutoSize). These capabilities should be rolled into the default Simulink configuration.

MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Acknowledgements

Inspired: AutoSizeOnConnect

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!