www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregtwostagebdrydev/localconstraint.m
function con = localconstraint( bdev, n ) %LOCALCONSTRAINT Local constraint model for a particular sweep. % % CON = LOCALCONSTRAINT(BDEV,N) is the boundary constraint for the N-th % sweep. % % Copyright 2000-2005 The MathWorks, Inc. and Ford Global Technologies, Inc. if isempty( bdev.LocalParameters ), con = []; else params = bdev.LocalParameters(n,:); con = getconstraint( bdev ); if ~isempty( con ), con = getlocal( con, params ); end end