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

    function out = isfill(T)
%ISFILL

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



% Checks to see whether a cgnormfunction can be filled. For this we need the 
% normaliser to be defined and full.

x = get(T,'x');
if isempty(x)
   out = false;
   return
elseif isempty(x.get('breakpoints')) | isempty(x.get('values'))
   out = false;
   return
end
out = true;