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 https://docs.mosek.com/9.2/toolbox/install-interface.html then cvx_setup will find it regardless of location. You can use the mosekdiag command to test if MOSEK runs as it should.

Thanks!

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