MATLAB: Do I need to write a TLC when using an S-Function in Rapid Accelerator mode

simulink

I have a custom C S-Function in my model and I would like to run my model in Rapid Accelerator mode. Do I have to write a custom TLC to do this?

Best Answer

A TLC is not required to run a model with a custom S-Function in Rapid Accelerator mode. You can confirm this with the demo "sfcndemo_dsfunc.slx" here:
which does not include a TLC file.