www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@project/Remove.m

    function OK = Remove(P)
%REMOVE Removes project.
%
%   OK = REMOVE( PROJECT )
%
% See also mbcmodel/CreateProject

%   Copyright 2004-2007 The MathWorks, Inc.

% Project nodes know how to delete themselves properly so simply delete the
% project node
delete(P);
% And set a return argument
OK = true;