Simulink cannot unify the dimensions of the multiplexed signal at output
20 views (last 30 days)
Show older comments
hello,i have a error.
who can help me!!!
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 Comments
Answers (1)
Animesh
on 2 May 2024
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:
You can refer the following MathWorks documentation for more information:
0 Comments
See Also
Categories
Find more on General Applications 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!