www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregbdrydev/pGetConstraint.m

    function con = pGetConstraint(bdev)
%PGETCONSTRAINT Direct access to object properties (PROTECTED)
%
%   *** WARNING ***
%   This method should only be used by XREGBDRYDEV and it's sub-classes.
%
%
%   CON = PGETCONSTRAINT(BDEV)
%
%   See also XREGBDRYDEV.

%   Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc.

con = bdev.Constraint;