Anyone with a working MPC on a dSPACE RT System?

Hey guys,

I am writing my thesis regarding this topic (NMPC on a dSPACE RT System C Code). Since I have to finish my development soon, I just want to know if anyone has made this run. I get the wildest errors while compiling (see my previous post), the C Code S-Function is running in simulink (really slow though).
I want to estimate if it is worth to invest two weeks of trying to get this done or try another approach (although I dont know which haha).

Happy to hear from you,
Alex