select the option under derivatives as 'Gradient and Hessian supplied' for Trust region reflective algorithm or 'Gradient supplied' for the other algorithms.
Write your objective fcn as described in the following doc (see section 'including derivatives') :
You can use Trust region algorithm r interior point algorithm, if they suit ur problem
r try meddling with the hessian fcn by giving your own fcn handle r forcefully giving a user supplied fcn (just a suggestion, not sure if it wud work)