Vector size changes after mux

11 views (last 30 days)
Stefano sala
Stefano sala on 16 Oct 2020
Commented: Stefano sala on 16 Oct 2020
Hi All,
i'm preparing my thesis and modeling an UAV with a suspended load.
Just finished the preparation of the control law but encountering an error. I would like to understand where it cames from.
For ease in visualization of the model, i'm using several GOTO-From blocks (to avoid too many wires) and mux/demux for vectors. I'm encountering this (see the image):
the mux receives correctly 5 signals, muxing in one vector signal. it seems that the mux output is dimensionaly correct, but then propagates as 1x1 signal, creating problems in matlab blocks where i'm demuxing the signal as needed.
any advice on the root cause of this?
thanks
Stefano
  1 Comment
Stefano sala
Stefano sala on 16 Oct 2020
by now i've solved the issue setting output dimension in the block editor.
any suggestion to understand why it was happening?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!