This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.
You need to modify change the call to fmincon by a call to your optimizer. The call to fmincon already shows you which arguments you need to pass to the function to be optimized.