I am relatively new in Yalmip ( I started two days ago) and I install penbmi from tom lab in order to solve some bmis, the problem is that I install the new version and I try to run some example programs but matlab did not run them. It show the next message
??? Attempt to execute SCRIPT penbmi as a function:
/Applications/tomlab/mex/penbmi.m
Error in ==> pen at 40
[x,info,fx,uoutput,iresults,fresults] = penbmi(p, 1);
Error in ==> callpenbmi at 143
[xout, fx, u, iresults, fresults, iflag] = pen(penstruct);
Error in ==> solvesdp at 337
eval(['output = ' solver.call '(interfacedata);']);
Error in ==> yalmipex at 9
solvesdp(F,-t,options)
clear('yalmip')
clc
clear all
A = [-1 2;-3 -4];
P = sdpvar(2,2);
t = sdpvar(1);
options = sdpsettings('verbose',1,'solver','penbmi','debug',1);
F = [P >= eye(2), A'*P+P*A <= -2*t*P];
solvesdp(F,-t,options)