fminbnd
is a bounded non-linear minimisation function, but it is restricted to one-dimension.
fmincon
is the constrained version of fminsearch, but is only available in the Optimisation Toolbox.
If you have the Optimation toolbox, you should use fmincon
, as it is more flexible, and in general will be faster.