Optimization results for all variables are nan?

Remove quiet and re-run. Then you will see solver and CVX output. I presume either the solver failed, or the result is infeasible, or unbounded.

if CVX reports infeasible, all except for section 1 of https://yalmip.github.io/debugginginfeasible also apply to CVX.

If CVX reports unbounded follow advice in https://yalmip.github.io/debuggingunbounded .

Note, the solver might report a different status than CVX, because it might have been sent the dual by CVX (CVX output will tel you if it sent the dual).

If the solver failed, use Mosek (with CVX 2.2) if possible. Otherwise, follow the advice at CVXQUAD: How to use CVXQUAD's Pade Approximant instead of CVX's unreliable Successive Approximation for GP mode, log, exp, entr, rel_entr, kl_div, log_det, det_rootn, exponential cone. CVXQUAD's Quantum (Matrix) Entropy & Matrix Log related functions