代码搜索:CallBack
找到约 10,000 项符合「CallBack」的源代码
代码结果 10,000
www.eeworm.com/read/409142/11345207
m prev_next_callback.m
function varargout = Prev_Next_Callback(h, eventdata, handles, str)
%获取索引指针和地址
index = handles.Index;
Addresses = handles.Addresses;
%根据被单击的按钮修改显示结果
switch str
case 'Prev'
%索引值减1
i = i
www.eeworm.com/read/409142/11345211
m contact_name_callback.m
function varargout = Contact_Name_Callback(h, eventdata, handles, varargin)
%在Contact Name和Phone编辑框众获取字符串
Current_Name = get(handles.Contact_Name,'string');
Current_Phone = get(handles.Contact_Phon
www.eeworm.com/read/409142/11345217
m contact_phone_callback.m
function varargout = Contact_Phone_Callback(h, eventdata, handles, varargin)
Current_Phone = get(handles.Contact_Phone,'string');
%如果有一个为空则返回
if isempty(Current_Phone)
return
end
%在句柄结构体众获取当
www.eeworm.com/read/347945/11623565
m pennonm_callback_f.m
function f = ipopt_callback_f(x,model_in)
global latest_x
global latest_df
persistent model
if nargin>1
model = model_in;
return
end
% We compute both function value and gradient
www.eeworm.com/read/347945/11623578
m ipoptgp_callback_df.m
function df = ipoptgp_callback_df(x,model)
global latest_x_f
global latest_df
x = x(:);
if isequal(x,latest_x_f)
df = latest_df;
else
[f,df] = fmincon_fungp(x,model);
end
www.eeworm.com/read/347945/11624495
m ipopt_callback_df.m
function df = ipopt_callback_df(x,model)
global latest_x_f
global latest_df
x = x(:);
if isequal(x,latest_x_f)
df = latest_df;
else
[f,df] = fmincon_fun(x,model);
end
www.eeworm.com/read/347945/11624528
m ipopt_callback_dg.m
function G = ipopt_callback_dg(x,returnStructOnly,model)
global latest_x_g
global latest_G
global latest_g
if returnStructOnly
G = sparse(ones(length(model.beq)+length(model.b)+length(mod
www.eeworm.com/read/347945/11624531
m ipoptgp_callback_dg.m
function G = ipopt_callback_dg(x,returnStructOnly,prob)
if returnStructOnly
G = sparse(ones(max(prob.map)+size(prob.G,1),size(prob.A,2)));
return
end
% Compute the nonlinear terms in
www.eeworm.com/read/347945/11624709
m pennonm_callback_g.m
function gi = pennonm_callback_g(i,x,model_in)
global latest_G
global latest_g
global latest_x_g
persistent model
persistent g
persistent geq
if nargin>2
model = model_in;
retur
www.eeworm.com/read/347945/11624824
m ipoptgp_callback_f.m
function f = ipoptgp_callback_f(x,model)
global latest_x_f
global latest_df
x = x(:);
[f,latest_df] = fmincon_fungp(x,model);
latest_x_f = x;