function mapfile = ctrlguihelp(topickey)
%CTRLGUIHELP  Help support for Control System Toolbox GUIs.

%   Author(s): P. Gahinet
%   Copyright 1986-2000 The MathWorks, Inc.
%   $Revision: 1.2 $  $Date: 2000/06/14 19:59:09 $

% Get MAPFILE name
helpdir = docroot;
if ~isempty(helpdir)
    mapfile = sprintf('%s/mapfiles/control.map',helpdir);
else
    mapfile = '';
end

if nargin
    % Pass help topic to help browser
    try
        helpview(mapfile,topickey);
    end
end
