www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptimtablefiller/setAddExtrap.m
function obj = setAddExtrap(obj, addExtrap) %SETADDEXTRAP Set the add extrapolation flag % % OBJ = SETADDEXTRAP(OBJ, ADDEXTRAP) sets a boolean flag which indicates % whether the extrapolation mask of the tables will be updated by OBJ or % not. % % See also CGOPTIMTABLEFILLER/SETADDEXTRAP % Copyright 2006 The MathWorks, Inc. if numel(addExtrap) == 1 && islogical(addExtrap) obj.addextrap = addExtrap; else error(message('mbc:cgoptimtablefiller:InvalidArgument6')); end