MATLAB: Define functional bounds in FMINCON optimization

boundfminconfunction

Hello
I'm using FMINCON and I would like to define a lower and upper bound for the variables on the basis of a certain function.
For example,in a 2D optimization, if I want my points being in a circle, I would like to define the x(1)^2 + x(2)^2 = r equation and then to use this equation as bound.
Is it possilbe and, eventually, how could I do that?
Thanks for supporting
Simone