Error function

IDCC-3
TitleDo not use the built-in error.
PriorityMandatory
Severity level1
DescriptionDo not use the built-in function error.
RationaleCompatibility
During code generation the error function is ignored, so the execution just continues, with unexptected behaviour. Note that MEX-based validations can be misleading, as generating code for the MEX-target, still includes calls to the error function (as the MEX runs within MATLAB).