AutoSize

版本 1.3.0.1 (13.3 KB) 作者: Mike Anthony
Automatically resize MIMO blocks upon connection.
773.0 次下载
更新时间 2016/9/1

查看许可证

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.

引用格式

Mike Anthony (2024). AutoSize (https://www.mathworks.com/matlabcentral/fileexchange/31575-autosize), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Simulink 的更多信息
致谢

启发作品: AutoSizeOnConnect

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.3.0.1

Updated license

1.3.0.0

Applied same bug fixes as AutoSizeOnConnect.

1.2.0.0

Minor fix to prevent this functionality for blocks with a property 'IconShape' set to 'round'. The sum, add, and subtract block are all the same block but this function only makes sense if using the rectangular icon shape.

1.1.0.0

Updated screenshot and minor typos in files.

1.0.0.0