How to replace Simulink Block links?

2 views (last 30 days)
mahack
mahack on 20 Nov 2016
Edited: mahack on 21 Nov 2016
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?

Accepted Answer

Preethi
Preethi on 21 Nov 2016
hi,
you can use add_line() and delete_line() functions
  1 Comment
mahack
mahack on 21 Nov 2016
Edited: mahack on 21 Nov 2016
That's what i have been looking for, thank you very much.

Sign in to comment.

More Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!