Using Prameters in cost_expr_ext_cost

Hi Jannis,

as suspected, something like this

ocp_model.set('sym_p', model.sym_p);

is missing in your code.

Btw, if you are new to using acados with Matlab, I would highly encourage to use the new interface directly, as announced here:

Cheers,
Jonathan

2 Likes