www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@coninputfactor/getUnits.m

    function units = getUnits(cif)
%GETUNITS Get the units from a constraint input factor object
%
%  UNITS = GETUNITS(CIF)
%
%  UNITS will be cell-string.
%
%  See also CONBASE, CONINPUTFACTOR, CONINPUTFACTOR/SETUNITS.

%  Copyright 2004-2005 The MathWorks, Inc.

units = cif.Unit;

%------------------------------------------------------------------------------|
% EOF
%------------------------------------------------------------------------------|