📄 fminuncout1.m
字号:
function stop = fminuncOut1(X, optimvalues, state)
stop = false;
figure1 = gcf;
if strcmpi(state,'done')
annotation1 = annotation(figure1,'arrow',[0.7506 0.7014],[0.3797 0.625]);
% Create textbox
annotation2 = annotation(...
figure1,'textbox',...
'Position',[0.6857 0.2968 0.1482 0.0746],...
'FontWeight','bold',...
'String',{'start point'},...
'FitHeightToText','on');
% Create arrow
annotation3 = annotation(figure1,'arrow',[0.4738 0.3489],[0.1774 0.2358]);
% Create textbox
annotation4 = annotation(...
figure1,'textbox',...
'Position',[0.4732 0.1444 0.2411 0.06032],...
'FitHeightToText','off',...
'FontWeight','bold',...
'String',{'FMINCON solution'});
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -