Code covered by the BSD License  

Highlights from
Web Server Demo

Web Server Demo

by

 

How to deploy a MATLABĀ® made application on a web server

myOptim(x0,lb,ub)
function [x,fval,exitflag,output,lambda,grad,hessian] = myOptim(x0,lb,ub)
% This is an auto generated M-file to do optimization with the Optimization Toolbox.
% Optimization Toolbox is required to run this M-file.

% Start with the default options
options = optimset;
% Modify options setting
options = optimset(options,'Display' ,'iter');
options = optimset(options,'TolFun' ,0.0001);
%options = optimset(options,'OutputFcn' ,{ @myOutputFcn });

options = optimset(options,'OutputFcn' ,{@(x, optimValues, state) storeResultsFcn(x, optimValues, state)});
%options = optimset(options,'OutputFcn' ,{@storeResultsFcn});

options = optimset(options,'PlotFcns' ,{  @optimplotfval @(x, optimValues, state) myplotcircles(x, optimValues, state) });
options = optimset(options,'LargeScale' ,'off');
[x,fval,exitflag,output,lambda,grad,hessian] = ...
fmincon(@(x) circlesIntersect(x),x0,[],[],[],[],lb,ub,[],options);

Contact us