www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregtools/@modeltransfertable/pCheckIsValid.m
function pCheckIsValid(obj) %PCHECKISVALID A short description of the function. % % PCHECKISVALID(OBJ) % Copyright 2005 The MathWorks, Inc. valid = true; for n = 1:length( obj.TransferAction ) % if we are not skipping this one, check the ReplaceNames. if obj.TransferAction(n)>=0 if isempty( obj.ReplaceNames{n} ) valid = false; break; end end end % update the valid setting obj.Valid = valid;