cvx install error

Uncategorized
Mar 11, 2021
B

Saving updated preferences…unexpected error:
---------------------------------------------------------------
Undefined function ‘cvx_save_prefs’ for input arguments of type
‘char’.
Error in cvx_setup (line 191)
cvx_save_prefs( ‘save’ );
---------------------------------------------------------------
Please attempt to correct this error and re-run cvx_setup. If you cannot,
you will be forced to re-run cvx_setup every time you start MATLAB.
Testing with a simple model…
UNEXPECTED ERROR: -----------------------------------------------
Undefined function ‘cvx_getdual’ for input arguments of type
‘cell’.
Error in cvxprob/newcnstr (line 19)
dx = cvx_getdual( x );
Error in == (line 3)
b = newcnstr( evalin( ‘caller’, ‘cvx_problem’, ‘[]’ ), x, y, ‘==’
);
Error in cvx/abs (line 68)
{ xt, w } == lorentz( st, 0 ); %#ok
Error in cvx/norm (line 56)
cvx_optval = sum( abs( x ) );
Error in cvx_setup (line 212)
minimize( norm(A*x-b,1) );
-----------------------------------------------------------------
Please report this error to support, and include entire output of
CVX_SETUP in your support request.

M

Are you installing CVX 2.2? If not, install that rather some other version. if you are using CVX 2.2, try reinstalling. if that doesn’t resolve things, try submitting a bug report per the section “Bug reports” at http://cvxr.com/cvx/doc/support.html.

B
Replying to #2

Thank your replay, I have solved the problem change the path of cvx. I want to know where can I download the cvx2.1.

M

Download CVX 2.2 (not 2.1) at http://cvxr.com/cvx/download/ .