![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1684486/image.png)
Simulink cannot unify the dimensions of the multiplexed signal at output
조회 수: 15 (최근 30일)
이전 댓글 표시
hello,i have a error.
who can help me!!!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1681841/image.jpeg)
Simulink cannot unify the dimensions of the multiplexed signal at output port 1 of 'untitled0417/PSS /In1' to match the input dimension of input port 1 of 'untitled0417/PSS /Transfer Fcn1'. Specifically, Simulink cannot unify {[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1],[-1]} to match [-1]. Consequently, Simulink cannot propagate dimension information from output port 1 of 'untitled0417/PSS /In1' to input port 1 of 'untitled0417/PSS /Transfer Fcn1'.
댓글 수: 0
답변 (1개)
Animesh
2024년 5월 2일
Seems like you are trying to pass values from inport block to transfer function but are unable to do so because transfer function block expects a single value as an input.
In this case we can use the 1x2 demux block and pass the value from one of the 2 outports to the transfer function block. Since all the 24 values are the same, this technique will probably yield the desired result.
I have attached an image below for better understanding:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1684486/image.png)
You can refer the following MathWorks documentation for more information:
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Discontinuities에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!