Mosek recognition error in cvx

Hi

I received an academic license for mosek and installed successufully and aslo installed CVX 7.
After installing mosek and CVX, I wrote ‘cvx_solver mosek’ on command window in matlab.
But I faced some error problem as follow
unknown, unsuable, or missing solver: mosek

I checked the installation of mosek through mosekdiag. The mosek was not recognized by cvx_setup. Could you give an advice to solve this error problem?

Thank you,

I suggest you run the command

mosekdiag

and paste the output into a reply.

I updated matlab2016a to matlab2019a so that that problem was solved.
It was caused by matlab old version.

Thank you.