Error function
ID | CC-3 |
Title | Do not use the built-in error . |
Priority | Mandatory |
Severity level | 1 |
Description | Do not use the built-in function error . |
Rationale | Compatibility 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). |