Permutation error (turned out to be incompatibility of CVX 2.1 with Mac OS X and MATLAB R2016a-2017b, but MATLAB R2015b works with Mac OS X and CVX 2.1)

Sorry for mistake.

Even if I change sx= [ -1 -1 -1] sy = [0,0,1] and delete quiet, the same error occur.

Did you find any hint from the output ofcvx_version…?