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일

0 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink Functions에 대해 자세히 알아보기

질문:

2015년 8월 12일

답변:

2015년 8월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by