Rapid Accelerator support for C++ targets
2 views (last 30 days)
Show older comments
Benjamin Thompson
on 11 Jan 2022
Answered: Murali Manikanti
on 11 Aug 2023
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.
0 Comments
Accepted Answer
Murali Manikanti
on 11 Aug 2023
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 Comments
More Answers (0)
See Also
Categories
Find more on Call C++ from MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!