I am trying to integrate 2 different acados sfunction into the same slx which will compile for dSPACE 1401.
Taken individually, I am able to compile both sfunctions. Putting both in the same simulink, the compilation fails.
What I was wondering then, is if there was any problem in the integration due, for example, to files with the same name, or if there were some precautions to be done to avoid possible conflicts between the 2 different folders c_generated_code.
I’m not sure if I got your point correctly, but here my suggested workflow:
Pass a specific build-folder for your ocp generation and later move your c_generated_code in different places: