Name shadowing 
ID | NAMING-14 |
Title | Functions and variables shall not shadow Mathworks-shipped functionality or other code. |
Priority | Mandatory |
Severity level | 3 |
Description | Functions and variables shall not shadow Mathworks-shipped functionality or other code. This includes MATLAB files (.m , .p , .mlapp , .mlx ), mex-files (.mexw32 etc.) and Simulink files (.mdl , .slx ). |
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. |