Minimal_example_ocp.m Error

Hi,

I installed ACADOS using MSVC 2019 and ran the minimal_example_ocp.m and there is a zero length array created in acados_mex_set_pendulim.c(573) and the compilation process stops.

Casadi 3.6.5

Any ideas?

Thank you,
Marc

Hi Marc,

thanks a lot for reporting this issue!
The empty array is not an issue when using gcc.
I pushed a fix here:

There are more changes coming to the acados Matlab interface soon.
Please let us know if you experience breaking changes when updating acados.

Best,
Jonathan

Hi Jonathan,

yes, that worked. Thank you for the quick fix.

As for the new Matlab IF or features: Seamless code generation with Embedded Coder/Simulink Coder for deployment on different hardware is highly appreciated and would be a huge advantage.

Cheers,
Marc

1 Like