Simulink cannot unify the dimensions of the multiplexed signal at output
20 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(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:
You can refer the following MathWorks documentation for more information:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!