Include slack variables in s-function outputs

Hi :wave:

I’m using the Matlab interface and the s-function generation features. I see that among the selectable outputs there are not the slack variables, is it possible to add this capability?



it can be added for sure.
If you look at the changes here: Simulink: add options for S functions by FreyJo · Pull Request #690 · acados/acados · GitHub
you should be able to implement this and make a PR.

I am not sure when I would do this myself.

Good luck!