I have a class ( Matlab 2012a, Ubuntu 12.10)
classdef trajectory
properties
partName;
coordinates;
end
methods
end
end
How can I restrict the property partName to only be one of the elements of the set {'leftHand','rightHand'} ( both are strings) ?