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

    function bdev = pSetStatus(bdev, status)
%PSETSTATUS Direct access to object properties (PROTECTED)
%
%   *** WARNING ***
%   This method should only be used by XREGBDRYDEV and it's sub-classes.
%
%
%   BDEV = PSETSTATUS(BDEV, STATUS)
%
%   Note that this set method does not reset the bdry dev stored on the 
%   heap. This left as the responsibility of the caller.
%
%   See also XREGBDRYDEV.

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

bdev.Status = status;