Are there enumerated types in MATLAB? If not, what are the alternatives?
If you have access to the Statistics Toolbox, you might consider using a categorical object.