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.

 Réponse acceptée

Murali Manikanti
Murali Manikanti le 11 Août 2023

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by