Rapid Accelerator support for C++ targets

Are there any plans for Rapid Accelerator to support C++ targets? We have models using C++ S-Functions and cannot use these with Rapid Accelerator mode or Simulink Compiler.

 采纳的回答

The support for Rapid accelerator C++ target was introduced in R2022a. To generate the C++ target, you need to modify the configuration parameter `SimTargetLang` as depicted in the image below:
Alternatively, you can use the command line setting by executing the following command:
set_param(model, 'SimTargetLang', 'C++');
For further information on the 'SimTargetLang' setting, please visit the following page: https://www.mathworks.com/help/simulink/gui/language.html

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by