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

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?

 Accepted Answer

A TLC is not required to run a model with a custom C S-Function in Rapid Accelerator mode. You can confirm this with the demo "sfcndemo_dsfunc.slx". To access the relevant documentation, execute the following command in the MATLAB R2019b command window:
>> web(fullfile(docroot, 'simulink/sfg/s-function-examples.html#f6-18765'))
This demo does not include a TLC file. If you are using a Level 2 MATLAB S-Function, you will need a TLC file to use it in Rapid Accelerator mode.
For additional information regarding the current release, please visit the following link:

More Answers (0)

Products

Release

R2019b

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!