www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cglookupone/issimpletable.m

    function ret = issimpletable(T)
%ISSIMPLETABLE Check if table is simply connected
%
%  OUT = ISSIMPLETABLE(T) returns true if the table is simply connected to
%  an input value.  False is returned if there are any more complex
%  expressions connected downstream.

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


xval = get(T, 'x');

if xval.isddvariable
    ret = true;
else
    ret = false;
end