www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@designdev/abortDesign.m

    function abortDesign(obj)
%ABORTDESIGN

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



% Set the current pointto one more than the number of points in the design
% so it aborts and doesn't run any points in this design
obj.currentPoint = npoints(obj.design) + 1;
% Update the input in the caller workspace
assignin('caller', inputname(1), obj);