function [] = commdemohelp
% COMMDEMOHELP  Invoke Communications Blockset demo help.
%
%   COMMDEMOHELP finds the arguments for the HELPVIEW function
%   and invokes help for the current demo.
%
%   Typical usage:  
%      commdemohelp; % in a Model Info block in a demo

%   It assumes that the documentation source file contains a Type 19
%   marker whose text is the name of the system, except for slashes.
%
% Copyright 1996-2000 The MathWorks, Inc.
% $Revision: 1.3 $ $Date: 2000/06/12 16:58:09 $

d = docroot;
if isempty(d)
   error(['Help system is unavailable.  Try using the ',...
          'Web-based Help Desk at http://www.mathworks.com']);
else
   pathname=fullfile(d,'mapfiles','commblks.map');
   topic=gcs;
   topic(findstr(topic,'/'))=[]; % get rid of slashes in case of subsystems
   helpview(pathname,topic);
end
return

% [EOF] commdemohelp.m
