I’m using acados with the Matlab interface, and I’m running into an issue with Matlab crashing often with my code. This code crashes Matlab on both Windows and Linux. Specifically Matlab crashes when the OCP solver is created:
ocp = acados_ocp(ocp_model, ocp_opts);
The code is pretty straightforward, so I’m not sure if I’m making a simple mistake or not?
Here is a zip file that contains the matlab code, as well as a crash report from Matlab.