Code covered by the BSD License  

Highlights from
Optimization, Nonlinear Control, and Estimation Toolbox

image thumbnail

Optimization, Nonlinear Control, and Estimation Toolbox

by

 

04 Jul 2011 (Updated )

APM MATLAB toolbox for nonlinear control and estimation of DAE models with IPOPT

apm(server,app,aline)
% APM Web-Interface Commands     
function response = apm(server,app,aline)

    % Web-server URL base
    url_base = [deblank(server) '/online/apm_line.php'];

    % Send request to web-server
    params = {'p',app,'a',aline};
    response = urlread(url_base,'get',params);

    % remove newline characters from response
    newline = sprintf('\r');
    response = strrep(response,newline,'');

Contact us