How to install the solver?

For example, if the cvx does not have ‘mosek’ solver, we should install the solver.
Does the cvx has the requirement of the path where the solver should be installed?

I mean that the mosek solver should be installed in file of the cvx toolbox? or there is no need to guarantee that.

If you install MOSEK correctly and add it using addpath following then cvx_setup will find it regardless of location. You can use the mosekdiag command to test if MOSEK runs as it should.


I use the mosekdiag command and check the version of the used mosek .