Simulink cannot propagate the variable-size mode from the output port

20 visualizaciones (últimos 30 días)
Hello everyone,
I'm gettinng a varaible sized mode ouput from a matlab function block which i give to postions(x,y,z) to a demux . but it expects a fixed mode input to the demux . can you please check my simulink blocks and function in the picture.
  1 comentario
Rhea Chandy
Rhea Chandy el 12 de Oct. de 2020
Hi Joysen
I'm trying to recreate the issue on my end. I would appreciate it if you can share your simulink model so that I can get a closer look at the blocks.

Iniciar sesión para comentar.

Respuestas (1)

Rhea Chandy
Rhea Chandy el 12 de Oct. de 2020
I understand that you want to use a variable-sized mode output from a function block as the input for a demux. One of the block characteristics of demux is that it does not currently support inputs from variable-size signals.
One possible workaround is to use a Bus Selector block which does support propagation of variable-size signals.

Community Treasure Hunt

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

Start Hunting!

Translated by