⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gahelpviewer.m

📁 matlab7 gads工具箱
💻 M
字号:
function gahelpviewer(topic, errorname)
% GAHELPVIEWER is a helper file for the Genetic Algorithm and Direct Search Toolbox. 
% GAHELPVIEWER Displays help for a Genetic Algorithm and Direct Search TOPIC. 
% If the map file cannot be found, an error is displayed using ERRORNAME

%   Copyright 2004 The MathWorks, Inc. 
%   $Revision: 1.1 $

import java.io.*;

error = false;
mapfilename = [docroot '/toolbox/gads/gads.map'];
f = File(mapfilename);
if f.exists
    try
        helpview(mapfilename, topic);
    catch
        error = true;
    end
else
    error = true;
end
if error
	message = sprintf('Unable to display help for %s\n', ...
							errorname);
	errordlg(message);
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -