Question: how to install cvx in matlab?
Answer: Retrieve the latest version of CVX from the web site. ... 
Unpack the file anywhere you like; a directory called cvx will be created. ... 
Start Matlab. ... 
Change directories to the top of the CVX distribution, and run the cvx_setup command.