www.gusucode.com > matlabxl 工具箱 matlab 源码程序 > matlabxl/isBuildOutdated.m

    function s = isBuildOutdated()
% isBuildOutdated returns whether the current Deploytool project has changed
% since it was last built.
%
%   isBuildOutdated is a utility for MATLAB Builder EX. This utility 
%   checks whether the build checksum is oudated, i.e. whether the project
%   has changed since it was last built. Note that this is not enough to
%   determine if a build is required; the build deliverables should also be
%   check vs. the source files in the project. Changes to files in the
%   project do not affect the checksum; only the list of what is in the
%   project and the project stttings affect the checksum.
%   
%
%
%   SYNTAX:
%       isBuildOutdated()
%
%   USAGE:
%       isBuildOutdated()
%           Checks if a Deploytool project has changes since it was last
%           built.
%
%
%
% 
%
% Copyright 2010-2013, The MathWorks, Inc.
%

fws=com.mathworks.toolbox.compiler.services.FunctionWizardService.getInstance();
s=fws.isBuildOutdated();

end