Functionality shadowing
| ID | CC-10 |
| Title | Do not shadow built-in MATLAB functionality. |
| Priority | Mandatory |
| Severity level | 3 |
| Description | Functions, classes and variables shall not shadow MATLAB-installed functionality or other code. This includes MATLAB files (.m, .p, .mlapp, .mlx), mex-files (.mexw32 etc.) and Simulink files (.mdl, .slx). Be aware that with toolboxes installed you might shadow MATLAB-installed functions which you do not shadow with core MATLAB only. |
| Rationale | Shadowing code can result in unexpected behaviour, because it is unclear and not properly defined for example what function is called when multiple ones share the same name. |