Dear Alan,
Thank you for your reply. I posted my question a bit too fast since both my constraints and my objective function are smooth functions... And I am able to obtain an exit flag of 1 for some of the constraint values (say: for some of the values I give to beq).
However, my objective function is non-convex so I realize I may have to be happy with a local optimum, which I assume is what an exitflag of 2 indicates.
What are your thoughts?