0

I am using MATLAB/simulink 2014a and I would like to feed a multiplexer (with 3 ports) with 3 signals which have variable-sizes. But I get the error:

enter image description here

Someone could help me to solve the problem?

Thanks a lot.

desmond13
  • 2,913
  • 3
  • 29
  • 46
  • Did you try the suggestions listed under "Examine the configurations..." etc? – nkjt Nov 26 '14 at 16:49
  • 1
    As far as I know, Simulink DOES NOT support variable size data. It makes a lot of sense actually. Tehrefore, youll need to just not use vatiable size. – Ander Biguri Nov 26 '14 at 16:52
  • 1
    Simulink supports variable size data. Mux does not support variable size data. If you just want to concatenate the data try using "Vector Concatenate" block. – Navan Nov 26 '14 at 18:40
  • 1
    @Navan is right, Simulink does support variable-size data, but not for all blocks. Unfortunately, the Mux block is not part of the list of blocks which support variable-size data, see [Simulink Block Support for Variable-Size Signals](http://uk.mathworks.com/help/simulink/ug/simulink-block-support-for-variable-size-signals.html) in the documentation for more details. Use a Vector Concatenate block instead, as suggested. – am304 Nov 26 '14 at 21:03

1 Answers1

0

First of all thanks for the comments. They helped. I try to write a comprehensive answer in this way if someone has my same question, he/she will find here a possible answer.

I hope this will help someone.

desmond13
  • 2,913
  • 3
  • 29
  • 46