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

📄 gaoutputoptions.m

📁 遗传算法工具包
💻 M
字号:
function [state, optnew,optchanged] = gaoutputoptions(options,state,flag)
%GAOUTPUTOPTIONS Display non default options settings.
%   STATE = GAOUTPUTOPTIONS(OPTIONS,STATE,FLAG) is used as a output
%   function for displaying which options parameters are not default.
%
%   Example:
%    Create an options structure that uses GAOUTPUTOPTIONS
%    as the output function
%     options = gaoptimset('outputfcns', @gaoutputoptions)

%   Copyright 2004 The MathWorks, Inc.
%   $Revision: 1.5 $  $Date: 2004/01/16 16:51:49 $
 
% use the code generation tool to get the text to display
optnew = options;
optchanged = false;
if(strcmp(flag,'init'))
    code = generateCode(options)
end

⌨️ 快捷键说明

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