Select the diagnostic action to take when Simulink® software detects a vector-to-matrix or matrix-to-vector conversion at a block input.
Category: Diagnostics
Default: none
none
Simulink software takes no action.
warning
Simulink software displays a warning.
error
Simulink software terminates the simulation and displays an error message.
Simulink software converts vectors to row or column matrices and row or column matrices to vectors under the following circumstances:
If a vector signal is connected to an input that requires a matrix, Simulink software converts the vector to a one-row or one-column matrix.
If a one-column or one-row matrix is connected to an input that requires a vector, Simulink software converts the matrix to a vector.
If the inputs to a block consist of a mixture of vectors and matrices and the matrix inputs all have one column or one row, Simulink software converts the vectors to matrices having one column or one row, respectively.
Parameter: VectorMatrixConversionMsg |
Value: 'none' | 'warning' | 'error' |
Default: 'none' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |