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

24 次查看(过去 30 天)
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 个评论
Rhea Chandy
Rhea Chandy 2020-10-12
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.

请先登录,再进行评论。

回答(1 个)

Rhea Chandy
Rhea Chandy 2020-10-12
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.

类别

Help CenterFile Exchange 中查找有关 Signal Routing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by