function varargout = tableinfo(varargin)
%TABLEINFO - Lookup table coverage information for a model object
%
% COVERAGE = TABLEINFO(DATA, BLOCK) Find the table coverage
% for BLOCK within the cvdata coverage object DATA. BLOCK can be
% the full path to a simulink block or model, or the handle to a
% simulink block or model. COVERAGE is returned as a 2 element
% vector: [covered_intervals total_intervals]. If information
% about BLOCK is not part of DATA then COVERAGE is empty.
%
% COVERAGE = TABLEINFO(DATA, BLOCK, IGNORE_DESCENDANTS)
% Find the table coverage for BLOCK and ignore the coverage in
% descendant objects if IGNORE_DESCENDANTS is true.
%
% [COVERAGE,EXECCOUNTS] = TABLEINFO(DATA, BLOCK) Find the coverage
% and produce an array containing the execution counts of each
% interpolation interval. EXECCOUNTS will have the same number of
% dimensions as the lookup table in BLOCK, but each dimension will
% be larger by one to permit logging of execution outside the
% range of break points.
%
% [COVERAGE,EXECCOUNTS,BRKEQUALITY] = TABLEINFO(DATA, BLOCK) Produce
% the counts where a break value tested with equality, BRKEQUALITY.
% The cell array BRKEQUALITY contains a vector of equality counts for
% each table dimension.
%
% see also COMPLEXITYINFO, CONDITIONINFO, GETCOVERAGEINFO, DECISIONINFO,
% EXECUTIONINFO, MCDCINFO, OVERFLOWSATURATIONINFO, RELATIONALBOUNDARYINFO,
% SIGRANGEINFO, SIGSIZEINFO.

% Copyright 1990-2016 The MathWorks, Inc.

try
[varargout{1:nargout}] = SlCov.CoverageAPI.getTableInfo(varargin{1:nargin});
catch Me
throwAsCaller(Me);
end