亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? optimset.m

?? matpower軟件下
?? M
?? 第 1 頁 / 共 2 頁
字號:
function options = optimset(varargin)
%OPTIMSET Create/alter OPTIM OPTIONS structure.
%   OPTIONS = OPTIMSET('PARAM1',VALUE1,'PARAM2',VALUE2,...) creates an
%   optimization options structure OPTIONS in which the named parameters have
%   the specified values.  Any unspecified parameters are set to [] (parameters
%   with value [] indicate to use the default value for that parameter when
%   OPTIONS is passed to the optimization function). It is sufficient to type
%   only the leading characters that uniquely identify the parameter.  Case is
%   ignored for parameter names.
%   NOTE: For values that are strings, correct case and the complete string
%   are required; if an invalid string is provided, the default is used.
%
%   OPTIONS = OPTIMSET(OLDOPTS,'PARAM1',VALUE1,...) creates a copy of OLDOPTS
%   with the named parameters altered with the specified values.
%
%   OPTIONS = OPTIMSET(OLDOPTS,NEWOPTS) combines an existing options structure
%   OLDOPTS with a new options structure NEWOPTS.  Any parameters in NEWOPTS
%   with non-empty values overwrite the corresponding old parameters in
%   OLDOPTS.
%
%   OPTIMSET with no input arguments and no output arguments displays all
%   parameter names and their possible values, with defaults shown in {}
%   when the default is the same for all functions that use that option -- use
%   OPTIMSET(OPTIMFUNCTION) to see options for a specific function.).
%
%   OPTIONS = OPTIMSET (with no input arguments) creates an options structure
%   OPTIONS where all the fields are set to [].
%
%   OPTIONS = OPTIMSET(OPTIMFUNCTION) creates an options structure with all
%   the parameter names and default values relevant to the optimization
%   function named in OPTIMFUNCTION. For example,
%           optimset('fminbnd')
%   or
%           optimset(@fminbnd)
%   returns an options structure containing all the parameter names and
%   default values relevant to the function 'fminbnd'.
%
%OPTIMSET PARAMETERS for MATLAB
%Display - Level of display [ off | iter | notify | final ]
%MaxFunEvals - Maximum number of function evaluations allowed
%                     [ positive integer ]
%MaxIter - Maximum number of iterations allowed [ positive scalar ]
%TolFun - Termination tolerance on the function value [ positive scalar ]
%TolX - Termination tolerance on X [ positive scalar ]
%FunValCheck - Check for invalid values, such as NaN or complex, from 
%              user-supplied functions [ {off} | on ]
%OutputFcn - Name of installable output function  [ function ]
%          This output function is called by the solver after each
%          iteration.
%
%   Note: To see OPTIMSET parameters for the OPTIMIZATION TOOLBOX
%         (if you have the Optimization Toolbox installed), type
%             help optimoptions
%
%   Examples
%     To create options with the default options for fzero
%       options = optimset('fzero');
%     To create an options structure with TolFun equal to 1e-3
%       options = optimset('TolFun',1e-3);
%     To change the Display value of options to 'iter'
%       options = optimset(options,'Display','iter');
%
%   See also OPTIMGET, FZERO, FMINBND, FMINSEARCH, LSQNONNEG.

%   Optimization Toolbox only parameters passed to OPTIMSET when the
%   Optimization Toolbox is not on the path now cause a warning (and in a
%   future release an error). To test if the toolbox is on your path, use:
%      ver('optim')

%   Copyright 1984-2004 The MathWorks, Inc.
%   $Revision: 1.34.4.11 $  $Date: 2004/04/16 22:05:38 $

% Print out possible values of properties.
if (nargin == 0) && (nargout == 0)
    fprintf('                Display: [ off | on | iter | notify | final ]\n');
    fprintf('            MaxFunEvals: [ positive scalar ]\n');
    fprintf('                MaxIter: [ positive scalar ]\n');
    fprintf('                 TolFun: [ positive scalar ]\n');
    fprintf('                   TolX: [ positive scalar ]\n');
    fprintf('            FunValCheck: [ {off} | on ]\n');
    fprintf('              OutputFcn: [ function | {[]} ]\n');

    try
        optimoptions;
    catch
        lasterrstruct = lasterror;
        if strcmp(lasterrstruct.identifier, 'MATLAB:UndefinedFunction')
            % Function OPTIMOPTIONS not found, so we assume Optimization Toolbox not on path
            %   and print the "MATLAB only" fields.
            % clean up last error
            lasterr('');
        else
            rethrow(lasterror);
        end
    end

    fprintf('\n');
    return;
end

% Create a struct of all the fields with all values set to 
allfields = {'Display'; 'MaxFunEvals';'MaxIter';'TolFun';'TolX'; ...
    'FunValCheck';'OutputFcn'};
try 
    % assume we have the Optimization Toolbox
    optimtbx = true;
    optimfields = optimoptiongetfields;  
    allfields = [allfields; optimfields];
catch
    lasterrstruct = lasterror;
    if strcmp(lasterrstruct.identifier, 'MATLAB:UndefinedFunction')
        % Function OPTIMOPTIONGETFIELDS not found, so we assume Optimization Toolbox not on path
        %   and use the "MATLAB only" struct.
        optimtbx = false;
        % clean up last error
        lasterr('');
    else
        rethrow(lasterror);
    end
end
% create cell array
structinput = cell(2,length(allfields));
% fields go in first row
structinput(1,:) = allfields';
% []'s go in second row
structinput(2,:) = {[]};
% turn it into correctly ordered comma separated list and call struct
options = struct(structinput{:});

numberargs = nargin; % we might change this value, so assign it
% If we pass in a function name then return the defaults.
if (numberargs==1) && (ischar(varargin{1}) || isa(varargin{1},'function_handle') )
    if ischar(varargin{1})
        funcname = lower(varargin{1});
        if ~exist(funcname)
            msg = sprintf(...
                'No default options available: the function ''%s'' does not exist on the path.',funcname);
            error('MATLAB:optimset:FcnNotFoundOnPath', msg)
        end
    elseif isa(varargin{1},'function_handle')
        funcname = func2str(varargin{1});
    end
    try 
        optionsfcn = feval(varargin{1},'defaults');
    catch
        msg = sprintf(...
            'No default options available for the function ''%s''.',funcname);
        error('MATLAB:optimset:NoDefaultsForFcn', msg)
    end
    % The defaults from the optim functions don't include all the fields
    % typically, so run the rest of optimset as if called with
    % optimset(options,optionsfcn)
    % to get all the fields.
    varargin{1} = options;
    varargin{2} = optionsfcn;
    numberargs = 2;
end

Names = allfields;
m = size(Names,1);
names = lower(Names);

i = 1;
while i <= numberargs
    arg = varargin{i};
    if ischar(arg)                         % arg is an option name
        break;
    end
    if ~isempty(arg)                      % [] is a valid options argument
        if ~isa(arg,'struct')
            error('MATLAB:optimset:NoParamNameOrStruct',...
                ['Expected argument %d to be a string parameter name ' ...
                'or an options structure\ncreated with OPTIMSET.'], i);
        end
        for j = 1:m
            if any(strcmp(fieldnames(arg),Names{j,:}))
                val = arg.(Names{j,:});
            else
                val = [];
            end
            if ~isempty(val)
                if ischar(val)
                    val = lower(deblank(val));
                end
                checkfield(Names{j,:},val,optimtbx);
                options.(Names{j,:}) = val;
            end
        end
    end
    i = i + 1;
end

% A finite state machine to parse name-value pairs.
if rem(numberargs-i+1,2) ~= 0
    error('MATLAB:optimset:ArgNameValueMismatch',...
        'Arguments must occur in name-value pairs.');
end
expectval = 0;                          % start expecting a name, not a value
while i <= numberargs
    arg = varargin{i};

    if ~expectval
        if ~ischar(arg)
            error('MATLAB:optimset:InvalidParamName',...
                'Expected argument %d to be a string parameter name.', i);
        end

        lowArg = lower(arg);
        j = strmatch(lowArg,names);
        if isempty(j)                       % if no matches
            [wasinmatlab, optionname] = checkoptimonlylist(lowArg);
            if ~wasinmatlab
                error('MATLAB:optimset:InvalidParamName',...
                    'Unrecognized parameter name ''%s''.', arg);
            else
                warning('MATLAB:optimset:InvalidParamName',...
                    ['The option ''%s'' is an Optimization Toolbox option and is not\n', ...
                     'used by any MATLAB functions. This option will be ignored and not included\n', ...
                     'in the options returned by OPTIMSET. Please change your code to not use \n', ...
                     'this option as it will error in a future release.'], ...
                     optionname);
                i = i + 2; % skip this parameter and its value; go to next parameter
                continue; % skip the rest of this loop
            end
        elseif length(j) > 1                % if more than one match
            % Check for any exact matches (in case any names are subsets of others)
            k = strmatch(lowArg,names,'exact');
            if length(k) == 1
                j = k;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩性生活| 日韩免费视频线观看| 国产久卡久卡久卡久卡视频精品| 亚洲第一福利一区| 亚洲国产三级在线| 午夜国产精品一区| 免费的国产精品| 蜜桃久久精品一区二区| 男女视频一区二区| 美女一区二区在线观看| 精品在线亚洲视频| 国产精品123| 97se亚洲国产综合在线| 色婷婷国产精品| 欧美色视频一区| 日韩精品一区二区三区视频播放 | 欧美曰成人黄网| 欧美剧情电影在线观看完整版免费励志电影| 色综合久久综合网| 欧美肥胖老妇做爰| 久久色视频免费观看| 国产精品美女一区二区在线观看| 亚洲欧洲精品一区二区三区| 一区二区三区四区激情| 日韩av成人高清| 国产精品一区二区三区四区| av色综合久久天堂av综合| 色悠久久久久综合欧美99| 欧美日本一道本| 久久亚洲综合色一区二区三区| 欧美激情一区不卡| 午夜久久久久久久久| 九色综合狠狠综合久久| 不卡视频一二三| 欧美美女一区二区在线观看| 久久免费看少妇高潮| 亚洲欧美一区二区三区孕妇| 天天爽夜夜爽夜夜爽精品视频| 韩国v欧美v亚洲v日本v| 色狠狠色噜噜噜综合网| 精品国产免费人成电影在线观看四季| 国产日韩欧美亚洲| 视频一区在线播放| zzijzzij亚洲日本少妇熟睡| 欧美一区午夜视频在线观看| 国产精品私人影院| 麻豆视频观看网址久久| 91在线观看成人| 久久网站最新地址| 六月丁香婷婷色狠狠久久| 色激情天天射综合网| 国产日韩一级二级三级| 欧美aaaaa成人免费观看视频| 91亚洲精品乱码久久久久久蜜桃 | 国产在线观看免费一区| 在线中文字幕一区二区| 国产精品人人做人人爽人人添| 热久久国产精品| 欧美体内she精视频| 国产精品久久久久三级| 国产乱码精品一区二区三区忘忧草 | 色欧美片视频在线观看| 久久精品一二三| 免费人成精品欧美精品| 欧美日本精品一区二区三区| 亚洲免费三区一区二区| av中文字幕不卡| 日本一区二区三区四区在线视频 | 国产精品免费人成网站| 国产激情视频一区二区在线观看| 精品国产乱码久久久久久久| 日日夜夜一区二区| 欧美精选午夜久久久乱码6080| 亚洲男人都懂的| 91麻豆国产精品久久| 亚洲免费av在线| 色婷婷久久久亚洲一区二区三区 | 日韩高清不卡一区二区| 制服丝袜av成人在线看| 免费看欧美美女黄的网站| 9191久久久久久久久久久| 午夜久久久影院| 91精品国产aⅴ一区二区| 日本vs亚洲vs韩国一区三区| 日韩一区二区三区高清免费看看| 蜜臀av性久久久久蜜臀aⅴ| 日韩精品专区在线影院观看| 美女久久久精品| 久久网站热最新地址| 丁香啪啪综合成人亚洲小说| 综合网在线视频| 欧美亚洲图片小说| 视频一区二区三区在线| 亚洲精品一区二区三区精华液| 国模少妇一区二区三区| 国产精品久久久久久久浪潮网站| 成人av电影免费在线播放| 亚洲欧洲日韩av| 欧美日韩国产一区二区三区地区| 日韩精品乱码免费| 国产三级一区二区| 9l国产精品久久久久麻豆| 亚洲一区二区三区在线看| 欧美一级艳片视频免费观看| 国产白丝网站精品污在线入口| 中文字幕一区二区在线播放| 欧美图片一区二区三区| 国产一区高清在线| 亚洲自拍偷拍综合| 久久青草欧美一区二区三区| 色综合久久中文字幕| 久久99精品久久久久久久久久久久| 久久精品视频在线看| 欧美日韩亚洲另类| 成人免费看片app下载| 日韩精彩视频在线观看| 国产精品理论片在线观看| 欧美久久高跟鞋激| 成人白浆超碰人人人人| 麻豆中文一区二区| 夜夜操天天操亚洲| 中文字幕高清一区| 欧美大片日本大片免费观看| 91网页版在线| 国模一区二区三区白浆| 日韩精彩视频在线观看| 亚洲欧洲日产国产综合网| 欧美tk丨vk视频| 欧美日韩精品系列| 99久久99久久精品国产片果冻| 久草在线在线精品观看| 日韩一区精品字幕| 一区二区三区加勒比av| 欧美国产欧美亚州国产日韩mv天天看完整| 欧美日韩在线不卡| 色综合久久中文字幕综合网| 国产suv精品一区二区883| 美女视频黄免费的久久| 婷婷久久综合九色国产成人 | 一区二区成人在线视频| 日本一二三四高清不卡| 精品国产髙清在线看国产毛片| 欧美久久久久久久久| 欧美性欧美巨大黑白大战| www.亚洲国产| 成人性色生活片| 国产一区二区三区不卡在线观看 | 国产一区二区不卡老阿姨| 日韩电影免费一区| 午夜免费久久看| 亚洲超碰精品一区二区| 五月激情综合网| 视频一区二区中文字幕| 青青青伊人色综合久久| 蜜桃传媒麻豆第一区在线观看| 午夜一区二区三区视频| 午夜欧美2019年伦理| 石原莉奈一区二区三区在线观看| 亚洲国产成人精品视频| 午夜欧美在线一二页| 日韩精品一级二级| 精品亚洲成a人在线观看| 国产精品一区专区| 成人丝袜高跟foot| 97久久精品人人澡人人爽| 99r精品视频| 欧美日韩在线播放一区| 91精品婷婷国产综合久久 | av不卡一区二区三区| av日韩在线网站| 色999日韩国产欧美一区二区| 色一情一乱一乱一91av| 欧美午夜电影网| 日韩免费成人网| 国产精品视频免费看| 亚洲免费观看在线观看| 亚洲成av人片一区二区三区| 九九在线精品视频| 97精品视频在线观看自产线路二| 91国内精品野花午夜精品| 欧美一区二区三区四区久久 | 91尤物视频在线观看| 欧美性大战久久久久久久| 欧美一区二区三区在线| 国产蜜臀av在线一区二区三区| 亚洲精品欧美二区三区中文字幕| 亚洲成人精品在线观看| 国产一区二区精品久久99| 色婷婷国产精品久久包臀| 欧美精品一区二区三区蜜桃| 亚洲人被黑人高潮完整版| 蜜臀av一区二区| 一本色道亚洲精品aⅴ| 欧美大黄免费观看| 亚洲欧美一区二区三区国产精品| 麻豆精品一区二区综合av| 91老司机福利 在线| 精品va天堂亚洲国产| 一区二区三区欧美在线观看| 国产美女娇喘av呻吟久久|