function cstunerhelp(topickey,CSHWindow)
% Open Help Windows for Control System Tuner App.

% Copyright 2013 The MathWorks, Inc.

if nargin<2
    CSHWindow = true;
end

% Get MAPFILE name
helpdir = docroot;
if ~isempty(helpdir)
    controlmapfile = fullfile(helpdir,'control','control.map');
else
    controlmapfile = '';
end

if nargin
    % Pass help topic to help browser
    try
        if CSHWindow
            helpview(controlmapfile,topickey,'CSHelpWindow');
        else
            helpview(controlmapfile,topickey);
        end
    catch
        fprintf('Help is currently not avaliable for this topic.');
    end
end