My cvx code can run on other commupter,but can not on my commupter! Why?

By using my own commupter, the error messages are as follows

错误使用 .* (line 173)
Disciplined convex programming error:
Cannot perform the operation: {invalid} .* {real affine}

出错 * (line 36)
z = feval( oper, x, y );


I have found the reason.
The reason is that the path of cvx were disorderd, because I set serval cvx path.
When the matlab call the cvx function, matlab may call serval subprogram of cvx from different cvx path, that may make misstake.

That means we must make the cvx path exactly and we should set the path of our own code exactly, especially there are serval version of your code (the name of code are same).

How to make the cvx path exactly?

cvx_setup should set the MATLAB path correctly.

To be on the safe side, remove all cvx directories from the MATLAB path before running cvx_setup This is necessary if you installed CVX 3.0beta, then wish to install CVX 2.2.