www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgpreclookupfix/set.m
function Prec = set(Prec, PropertyName, PropertyValue) %SET Set properties of a cgpreclookupfix object. % % LOOKUPFIXPREC = SET(LOOKUPFIXPREC, PROPERTY, VALUE) modifies the % property PROPERTY of a cgpreclookupfix object LOOKUPFIXPREC to a value % VALUE. % Copyright 2000-2006 The MathWorks, Inc. and Ford Global Technologies, Inc. if nargin~=3 error(message('mbc:cgpreclookupfix:InvalidArgument9')); end switch lower(PropertyName) case 'tablephysdata' % Set TablePhysData Prec.TablePhysData = PropertyValue; case 'tablehwdata' % Set TableHWData Prec.TableHWData = PropertyValue; case 'physrange' % Set PhysRange Prec.PhysRange = PropertyValue; otherwise % No valid property name at this level, try the superclass Prec.cgprecfix = ... set(Prec.cgprecfix, PropertyName, PropertyValue); end