Simulink functions to make dynamic programmation easier

版本 1.11.0.0 (14.3 KB) 作者: Zangdaarr
This class gives usefull methods for dynamic programmation of simulink systems
40.0 次下载
更新时间 2016/9/23

查看许可证

Work from Matlab 2011b, developed on Matlab 2014b.
This class offers several methods that will facilitate your life while dynamically coding a Simulink subsystem. Each instance of the class is linked to a particular subsystem.
It redefine several native function in a more user-friendly way, but also add more complex functionalities.
It will allow you to:
- Add, delete lines in a secure way, remove all connection to a single block
- Get list of ports names and handle for a specific block
- Get list of connected lines to a specific block, only the part of the line connected is returned, so you can delete it without harming the others connections if the line is shared
- Get block handle in a safe way
- Add, delete block and its connections in a safe way
- Delete sources of a specific block, single or recursively (sources to sources)
- Position two blocks port to port
- Set size of the subsystem based on its in/out ports
- User friendly function to set port dimensions and constants values

Don't hesitate to ask me for evolution or bug fixes !

引用格式

Zangdaarr (2025). Simulink functions to make dynamic programmation easier (https://www.mathworks.com/matlabcentral/fileexchange/59262-simulink-functions-to-make-dynamic-programmation-easier), MATLAB Central File Exchange. 检索时间: .

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

Community Treasure Hunt

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

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

Add picture

1.1.0.0

Added doc

1.0.0.0