It’s my first time to use the cvx. I download the lastest version, added the path and tried the simple example shown on the homepage. But the cvx failed and returned the error message as follows:
Attempt to reference field of non-structure array.
Error in cvxprob (line 48)
selected = cvx___.solvers.selected;
Error in cvx_begin (line 41)
assignin( ‘caller’, ‘cvx_problem’, cvxprob( varargin{:} ) );
Error in cvxtest (line 4)
cvx_begin
I debugged the upper functions mentioned and found the type of cvx___.solvers was not structure, so the cvx___.solvers.selected didn’t exist.But I don’t why, so I changed a computer and redownloaded the cvx package but it didn’t work. What’s wrong with the package? Please help.