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

    function varargout = history(MP,newHistory)
%history get and set project history
%    histArray = history(MP);
%    MP = history(MP,newHistory);

%  Copyright 2015-2015 The MathWorks, Inc. and Ford Global Technologies, Inc.

if nargin>1
    MP.History = newHistory;
    xregpointer(MP);
    varargout{1} = MP;
else
   varargout{1} = MP.History; 
end