I have a model with a switch block feeding into a variable selector block. The switch block outputs a 16 element vector. However the variable selector block errors out since it expects only one element vector. I would like to know if the variable selector block requires only one element. I get the following error message when I update the attached model:
Error in port widths or dimensions. Output port 1 of 'sp_selector/Subsystem1/w_sx_A_sel' has 16 elements. This port does not accept the dimensions (or orientation) specified by the output signal. Error in port widths or dimensions. Input port 1 of 'sp_selector/Subsystem1/w_A_sel_2' is a one dimensional vector with 1 elements.
Best Answer