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

조회 수: 26 (최근 30일)
Joyson Chacko
Joyson Chacko 2020년 10월 9일
답변: Rhea Chandy 2020년 10월 12일
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