Simulink cannot unify the dimensions of the multiplexed signal at output

20 visualizzazioni (ultimi 30 giorni)
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'.

Risposte (1)

Animesh
Animesh il 2 Mag 2024
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:

Categorie

Scopri di più su General Applications in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by