function [list, lib] = showcommblockdatatypetable(Action)
%SHOWCOMMBLOCKDATATYPETABLE Launch Communications Toolbox Data-type 
%   Support Table 
%   Launches html page in help browser to show data type support and 
%   production intent information for the Communications Toolbox
%   library blocks.

% Copyright 2008-2018 The MathWorks, Inc.

if nargin == 0
    Action = 'LaunchHTML';
end

libName = 'commlibv2';
switch Action
    case 'LaunchHTML'
        % commlibv2 must be loaded for this function to work.
        if isempty(find_system('SearchDepth', 0, 'CaseSensitive', 'off', 'Name', libName))
            disp(DAStudio.message('comm:bcst:LoadingCommsLib'));           
            load_system(libName);
        end
        sl('bcstMakeSlSupportTable', 'commliblist.m', false, libName);
    case 'GetListandLib'
        list = 'commliblist';
        lib = libName;
        
  otherwise
    warning(message('comm:bcst:bcstUnknownAct'));        
end
