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

storeResultsFcn(x, optimValues, state)
function stop= storeResultsFcn(x, optimValues, state)
% Stores intermediate optimization results
% Use this as a custom output function
stop=false;
switch state
  case 'init'
    setappdata(0, 'optim_xSaved', []);
    
  case 'iter'
    setappdata(0, 'optim_xSaved', [getappdata(0, 'optim_xSaved'), x]);
        
end

Contact us