Constants

Named constants (including global variables) should be all uppercase using underscore to separate words

This is common practice in the C++ development community. Although MathWorks may appear to use lower case names for constants, for example pi, such built-in constants are actually functions.

MAX_ITERATIONS, COLOR_RED

Constants can be prefixed by a common type name

This gives additional information on which constants belong together and what concept the constants represent.

COLOR_RED, COLOR_GREEN, COLOR_BLUE