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

#1

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 );

Why???

#2

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).