Simulink cannot unify the dimensions of the multiplexed signal at output

14 ビュー (過去 30 日間)
he
he 2024 年 4 月 29 日
回答済み: Animesh 2024 年 5 月 2 日
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'.

回答 (1 件)

Animesh
Animesh 2024 年 5 月 2 日
Hey @he
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:

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by