spot-toolbox / spotless

A fork of the Systems Polynomial Optimization Toolbox.
28 stars 35 forks source link

Compilation error for sdsos_example.m #16

Open mdaislam006 opened 8 years ago

mdaislam006 commented 8 years ago

Hi,

After installing the tool, I tried to run one example from the doc/example folder. But I got the following error message.

Error using evalc Undefined function 'mosekopt' for input arguments of type 'char'.

Error in spot_mosek (line 36) evalc('[r,res] = mosekopt(''symbcon'');');

Error in spotprog/minimize (line 737) [x,y,z,info] = solver(A,b,c,K,options);

Error in spotsosprog/minimize (line 487) sol = minimize@spotprog(pr,varargin{:});

Error in sdsos_example (line 46) sol = prog.minimize(-gamma, @spot_mosek, options);

Can you please take a look?

ypleong commented 7 years ago

I have a similar error. Is this issue resolved? Did you find any fixes?

ypleong commented 7 years ago

It turns out that I forgot to install mosek in my new laptop. Once mosek is properly installed, the code works.