close all
clear all

addpath('U:\qpOASES-3.2.0\interfaces\matlab');

load example1.mat
options = qpOASES_options('maxIter',10);
%[x,fval,exitflag,iter,lambda,auxOutput] = qpOASES(H,g,A,lb,ub,lbA,ubA,options)

[x,fval,exitflag,iter,lambda,auxOutput] = qpOASES(H,g,[],lb,ub,[],[],options)


%[QP,x,fval,exitflag,iter] = qpOASES_sequence( 'i',H,g,A,lb,ub,lbA,ubA,options)
%qpOASES_sequence('c',QP);
