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

25 views (last 30 days)
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 Comment
Rhea Chandy
Rhea Chandy on 12 Oct 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.

Sign in to comment.

Answers (1)

Rhea Chandy
Rhea Chandy on 12 Oct 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!