MATLAB: Does FMINCON hang and not allow me to kill the process using CTRL-C

bycanctrl-cfminconhanghangskillmanagernotOptimization Toolboxorrestartstoptaskthroughwith

Why does FMINCON hang and not allow me to kill the process using CTRL-C?
When I run a script that makes a call to FMINCON, MATLAB freezes and CTRL-C does not seem to stop my program from running.

Best Answer

This is a bug in the Optimization Toolbox 2.1.1 (R12.1) that has been fixed in the Optimization Toolbox 2.2 (R13).
There are no known workarounds for previous versions of the Optimization Toolbox.