MATLAB: How to replace Simulink Block links

simulinksimulink replace_block links

Hello, i want to use a .m-File to change Simulink block links. I just found out that i can use the replace_block-function to change blocks, but i additionally want to set new links, how to?

Best Answer

hi,
you can use add_line() and delete_line() functions