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

    function opts = BoundaryClasses(bdev)
%BOUNDARYCLASSES list of boundary model classes
%
% opts = BoundaryClasses(con)

%  Copyright 2009 The MathWorks, Inc.

con = getconstraint(bdev); 
if isempty(con)
    con = newconstraint(bdev);
end
opts = BoundaryClasses(con);