MATLAB: How to pass Options as an argument in quadprog

argumentfunctionMATLABquadprog

Dear all,
In MATLAB help, the quadprog() function can be used with either
  • x = quadprog(H,f)
  • x = quadprog(H,f,A,b,Aeq,beq,lb,ub,x0,options)
I would like to pass "options" as an argument without pass other arguments like "A,b,Aeq,beq,lb,ub,x0". Is it possible to call the function in a way like this "x = quadprog(H,f,options)"?
Thank you in advance.

Best Answer

x = quadprog(H,f,[],[],[],[],[],[],[],options)