?? setfunctions.m
字號:
function params=setfunctions(params,varargin)
%SETFUNCTIONS Stores functions info as parameters for the GPLAB algorithm.
% SETFUNCTIONS(PARAMS,FUNCNAME,FUNCARITY) returns updated
% parameter variables where the functions information (name,
% arity) has been set with the data provided in the function
% arguments FUNCNAME, FUNCARITY. Several functions can be set
% at the same time by adding several pairs FUNCNAME,FUNCARITY
% to the list of arguments.
%
% Input arguments:
% PARAMS - the algorithm running parameters (struct)
% FUNCNAME - the name of the function to use (string)
% FUNCARITY - the arity (no. arguments) of the function (integer)
% ...
% Output arguments:
% PARAMS - the updated algorithm running parameters (struct)
%
% See also SETTERMINALS, ADDFUNCTIONS, ADDTERMINALS
%
% Copyright (C) 2003-2004 Sara Silva (sara@dei.uc.pt)
% This file is part of the GPLAB Toolbox
params.functions={};
if nargin>1
params=addfunctions(params,varargin{:});
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -