I am assuming you mean DeMux as well, please correct us if that is incorrect. From the looks of it, the MATLAB Function block has determined that the size of rad
is 1-by-4
since that is the size of the value assigned to it. However, something else seems to think that the output should be of size [4]
or 4-by-1
. Have you manually specified the output of the MATLAB Function block to have size [4]
or the size of the demux to expect an input of size [4]
?
You could either change the definition of rad
to be 4-by-1 or the size specified to Simulink to be [1, 4]
.