www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@data/isequal.m
function OK = isequal(obj, otherObj) %ISEQUAL True is data object are equal. % % ISEQUAL( DATA1, DATA2 ) is true if the two data objects are equal. % % Copyright 2004-2005 The MathWorks, Inc. OK = false; if isa(otherObj, 'mbcmodel.data') && isequal(size(obj), size(otherObj)) if obj.IsBeingEdited || otherObj.IsBeingEdited OK = obj == otherObj; else OK = obj.super(mfilename('fullpath'), otherObj); end end