How do I get the demux outport position?

3 ビュー (過去 30 日間)
Sobhi Zeidan
Sobhi Zeidan 2015 年 8 月 12 日
回答済み: Sobhi Zeidan 2015 年 8 月 12 日
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

採用された回答

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by