Using SQP-RTI in Simulink / on dSpace

Hi,

the split into preparation and feedback phase is not done yet for the S-function.

Sounds good, I would focus on that first.
If you find that your controller then is not fast enough, one can think about how to adapt the S-function with the RTI phase split.

Note that it was recently reported that the timings saved through that are lower than expected.

Maybe you can first time the different phases to see how much time you would gain.

Cheers