How to incorporate the Matlab code 'eig' in CVX

Nonconvex
Oct 18, 2012
Z

The funtion is :

minimize( norm(eig(Jacobi)-lambda)+norm(eig(subJacobi)-mu)),

where Jacobi and subJacobi is unkown matrix.
operating the CVX toolbox

??? Undefined function or method 'eig' for input arguments of type 'cvx'.
M

It cannot be done. Please read the first section of the users guide very carefully; it should be evident why this is not possible.