Name shadowing 
ID | NAMING-14 |
Title | Functions and variables shall not shadow MATLAB-installed functionality or other code. |
Priority | Mandatory |
Severity level | 3 |
Description | Functions 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. |