m the results, you have to 'matricize'
% these vectors.
%
% Example of using YALMIP2BMI:
%
%  %YALMIP commands
%    A = [-1 2;-3 -4]; B=-[1;1];
%    P = sdpvar(2,2); K = sdpvar(1,2);
%    F = [(A+B*K)'*P+P*(A+B*K) < -eye(2); P>eye(2)]
%    yalpen=export(F,trace(P),sdpsettings('solver','penbmi'),[],[],1);
%  %PENLAB commands
%    bmi=yalmip2bmi(yalpen);
%    penm = bmi_define(bmi);
%    prob = penlab(penm);
%    solve(prob);
%    K = (prob.x(4:5))';
% 
% <html><a
%  href="#top_of_page">Back