When using Embedded MATLAB blocks, if I try to access certain elements of the input parameter, I receive an error message similar to the following:
Index expression out of bounds. Attempted to access element 2. The valid range is 1-1.
This is unexpected since I know that the input parameter is a vector, even though the error message states that it is a scalar.
Best Answer