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?

 采纳的回答

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:

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Target Language Compiler 的更多信息

产品

版本

R2019b

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by