There is a inverse tangent function in my constraint. Actually, I use the Matlab built-in function “atan”. The expression of this constraint is:
x - atan(y) <= 0,
where x and y are scalar variable, and y>=0.

However, an error appears: Undefined function ‘atan’ for input arguments of type ‘cvx’.
Does this mean function “atan” is not supported in CVX？

Hello, I also encountered the same problem, but I don’t know how to make continuous approximation of this atan function. How do you solve it? Looking forward to your reply

The way you “solve it” is to to use some tool other than CVX. For instance, YALMIP, which allows non-convexities and has support for atan (and also supports atan2 in its develop branch https://groups.google.com/g/yalmip/c/diLhQLh5bN8 )