How do I get the demux outport position?

3 views (last 30 days)
I am adding a line between a demux and a mux block using a script. I want to edit my script to add a conversion block between the demux and a mux block. So the connection will be demux to conversion block to mux block. I need to get the position of the output port that is going to be connected the conversion block

Accepted Answer

Sobhi Zeidan
Sobhi Zeidan on 12 Aug 2015
I got the answer. This statement gets the position of all the output ports of the demux block: get_param('blockPath','Outport');

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!