function boo = isfinite(D)
% Returns TRUE if model has finite data.

%   Copyright 1986-2003 The MathWorks, Inc.
[ny,nu] = size(D.num);
for ct=1:ny*nu
   if ~allfinite(D.num{ct})
      boo = false;
      return
   end
end
boo = true;
