How to add time limit in CVX while using the Gurobi solver?

Thank you Mark. I got the cvx_solver_settings(‘TIMELIMIT’, num) working and will experiment what is the best way to deal with suboptimal solutions.

Regards,

Yijun