function helpview(varargin)
% Copyright 2009 The MathWorks, Inc.

msg = '';
if nargin == 1 && ~isempty(varargin{1})
    msg = ['Help for ''' varargin{1} ''' unavailable.']; 
end

warndlg(sprintf(...
    ['The HELPVIEW command cannot be used in compiled applications.'...
     ' For help please visit the MathWorks web site at ' ...
     'www.mathworks.com.\n\n%s'], msg), ...
        'Compiler: HELPVIEW command unavailable');
