‘My question is if the set up ... inside the fmincon function is the correct one.’
As I read the documentation, yes, it is, except for the ‘...’ after your ‘options’ call. I have not experimented with something like your code, but the extra ellipsis at the end of the argument list could throw an error. Try it and find out.