How to determine the number of inputs of block simulink from the command line?
조회 수: 8 (최근 30일)
이전 댓글 표시
I want to determine the number of inputs of block simulink. How to do it?
댓글 수: 0
채택된 답변
Chandrasekhar
2014년 5월 6일
편집: Chandrasekhar
2014년 5월 6일
click on the Simulink block/Subsystem for which you have to find the inputs and then use the following commands
a = get_param(gcb,'PortHandles');
length(a.Inport)
추가 답변 (1개)
Nouran Adel
2019년 6월 24일
and how can I determine the input itself of a simulink block ?? I mean how can I know which block is the input of the specified simulink block ?
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!