Discrepancy between cvx_optval and objective value?

When a problem is unbounded, the values returned in the variables represent an unbounded direction. They aren’t intended to be interpreted as a potential solution.