You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# as root
cd /opt
curl http://web.cvxr.com/cvx/cvx-a64.tar.gz | tar -xz
# as someuser
su someuser
cd ~
export MATLABPATH=/opt/cvx:/opt/cvx/builtins:/opt/cvx/commands:/opt/cvx/functions:/opt/cvx/lib:/opt/cvx/structures
matlab
try some code
...
m = 20; n = 10; p = 4;
A = randn(m,n); b = randn(m,1);
C = randn(p,n); d = randn(p,1); e = rand;
cvx_begin
Struct contents reference from a non-struct array object.
Error in cvx_global (line 76)
osolvers = cvx___.solvers.list;
Error in cvxprob (line 4)
cvx_global
Error in cvx_begin (line 41)
assignin( 'caller', 'cvx_problem', cvxprob( varargin{:} ) );
...
alright that failed... run matlab and then cvx_setup
>> cvx_setup
---------------------------------------------------------------------------
CVX: Software for Disciplined Convex Programming (c)2014 CVX Research
Version 2.1, Build 1127 (95903bf) Sat Dec 15 18:52:07 2018
---------------------------------------------------------------------------
Installation info:
....
success.
find out that cvx_setup seems to create a file ~/.matlab/cvx_prefs.mat
and that file is needed.
is there some way to install cvx so the users dont need to run cvx_setup for the first run?
Would like to include cvx in matlab on a multi user system.
So students at our university don't have to preform a manual install.
is there some way to setup cvx so it is globally installed in matlab so all users on our linux server are good to go.
Thanks.
The text was updated successfully, but these errors were encountered: