Error in installing Gurobi solver in cvx

I have installed cvx in MATLAB and tried to use Gurobi solver. I got a key for academic license. I used the command cvx_grbgetkey and received the following error:

‘C:\Users\xxxxxxxx\OneDrive\Desktop\MATLAB’ is not recognized as an internal or external command,
operable program or batch file.

How to find the solution to this error?