It might be that you overloaded some functions of CVX. For example, you might have defined a “min” function which clash with the CVX’s “min” funcition. To solve this conflict, you can click “set path” in MATLAB, select all CVX-related paths, move them to the top of the path list so that they will have the highest priority.