---------------------------------------------------------------------------
CVX, version 2.0 (beta) (c) 2012, CVX Research, Inc.
Software for Disciplined Convex Programming
---------------------------------------------------------------------------
Version info:
Code: build 1002, 2013-07-28 08:47:16
Documentation: build 994, 2013-07-24 10:54:53
Installation info:
Path: C:\MatlabR2012b\cvx200
MATLAB version: 8.0 (R2012b)
OS: Windows NT (unknown) amd64 version 6.2
Java version: 1.6.0_17
Verfying CVX directory contents:
No missing files.
License host:
Username: Chao
Host ID: fc4dd42e1211 (eth4)
Installed license:
No license installed.
No valid licenses found.
---------------------------------------------------------------------------
Setting CVX paths...done.
Saved preferences...found.
Searching for solvers...4 shims found.
2 solvers initialized (* = default):
* SDPT3 4.0 {cvx}\sdpt3
SeDuMi 1.32 {cvx}\sedumi
2 solvers skipped:
Gurobi unknown {cvx}\gurobi
A CVX Professional license is required.
Mosek
A CVX Professional license is required.
Saving updated preferences...done.
Saving updated path...done.
Testing with a simple model...
UNEXPECTED ERROR: -------------------------------------------------
Error using class
Cannot change the number of fields of class 'cvxtuple' without first typing 'clear classes'.
Error in cvxtuple (line 19)
v = class( struct( 'value_', { v }, 'dual_', { [] } ), 'cvxtuple',cvxobj );
Error in cvx_end (line 183)
assignin('caller','cvx_optpnt',cvxtuple(cvx_collapse(vars,false,false)));
Error in lorentz (line 100)
cvx_end
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 249)
minimize( norm(A*x-b,1) );
-------------------------------------------------------------------
Please report this error to support, and include entire output of
CVX_SETUP in your support request.
---------------------------------------------------------------------------
I’ve seen this before, and I know why it’s happening, but I don’t think I can fix it within CVX itself. To solve the problem, though, you simply need to shut down MATLAB, re-start it, and re-run CVX_SETUP.