Matlab function 'square' and cvx function 'square' is different

Perhaps this will help Warning about `square.m` during CVX installation

Do
which -all square
to see what all the square functions are in your MATLAB path.