CVX with Gurobi error warning

I run a LP in CVX using GUROBI. I received the error message as below.

Error using cvx_end (line 267)
model.quadcon must be a struct array with fields q, and rhs

What could be the reason?

Best regards

There seem to be some bugs or incompatibilities in the CVX/Gurobi interface. Can you rtry a different solver?

I tried MOSEK and it worked now. Thank you for your message!

Hi, I am facing the same error. This issue only appears with the default GUROBI packaged with CVX v2.2. Using CVX with an external GUROBI installation solves the problem correctly. Where should I go to report this bug?

Bug reporting instructions at

As mentioned in another thread, try the latest build, 1148, of CVX 2.2 before filing a bug report.

Thank you. I will do that. This bug persists for me in the latest build, 1148, of CVX 2.2.