Print the problem that is sent to the external solver

How do I print the problem that cvx sends to mosek?

You can’t. But you can use the command cvx_solver_settings( 'dumpfile',filename) to save the solver data to a file. Type help cvx_solver_settings for information.

The struct prob in the dump file is exactly what I was looking for. Thanks