function propValue = getPropValue(h, propName)
%

% Copyright 2015 The MathWorks, Inc.
switch propName       
    case 'Prop1'
        propValue = h.Prop1;        
    case 'Prop2'
        propValue = h.Prop2;
    case 'Prop3'
        propValue = h.Prop3;           
    otherwise
        propValue = 'NA';     
end