Try putting YALMIP in the MATLAB path after CVX.
If you do so, I suggest removing geomean.m
and logdet.m
from the CVX installation; Because if you do not, those CVX files redirect to geo_mean
and log_det
. Which means that if YALMIP calls geomean
and logdet
, that would be converted into call to CVX’s geo_mean
and log_det
, and that would not end nicely. After removing geomean.m
and logdet.m
, you will still have geo_mean
and log_det
, which is what you actually need in CVX.
If you do all this, as far as I know, CVX and YALMIP should coexist and both work properly and completely.
And yes, i learned all this the hard way.