Installing cvx (Linux version)on MATLAB online encountered an error

12 views (last 30 days)
When I want to install the CVX linux version software package on the Matlab online to run my Matlab program.I upload the installation package to the Matlab drive and use cvx_setup to install it, but an error occurred. Who can help me?

Answers (1)

Walter Roberson
Walter Roberson on 12 May 2023
cvx is a licensed program. In order to run it, you need to have obtained a license file that associates the username you are running on, together with the host name you are running on.
When you run on MATLAB online, the username is mluser and the hostname is something that resembles a MAC (Media Access Control) address. You would have to register user mluser together with that hostname in order to use cvx .
Note that since registering with that combination of username and hostname would allow anyone else who users MATLAB Online (and who gets the same host) to user cvx, you will need to obtain a commercial license for cvx.
There might perhaps be other ways to connect a license to your MATLAB Online session, but I do not see anything in their description...
Though... maybe instead of installing what you did, you could install the Redistributable version. That has a GNU license. http://cvxr.com/cvx/doc/license.html

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!