Cpp Using Enum In Switch Statement Matlab