Why am I unable to generate C-API files from the rtwdemo_capi demo using Real-Time Workshop 6.2 (R14SP2)?

1 次查看(过去 30 天)
I am trying to generate C-API files from rtwdemo-capi.mdl after selecting the system target file to ert.tlc (auto configures for optimized floating-point code). The code is generated succesfully, but the C-API files are missing. When I select any of the grt.tlc system target files, I am able to successfully generate all C-API files. Here are the steps I followed:
1. Executed the following at the MATLAB Command Prompt:
rtwdemo_capi.mdl
2. Selected Simulation->Configuration Parameters from the menubar of the model window.
3. Clicked on Real-Time Workshop and selected the ert.tlc (auto configures for optimized floating-point code) option for the system target file.
4. Clicked on Interface and selected C-API option from the Interface dropdown menu.
5. Clicked OK.
6. Selected Real-Time Workshop again and clicked on the Generate Code button.

采纳的回答

MathWorks Support Team
In order to successfully generate C-API code for the rtwdemo_capi demo model from Real-Time Workshop, you will need to use the ert.tlc system target file with no auto configuration rather than the ert.tlc system target file that auto configures for optimized floating-point code.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 DO Qualification Kit (for DO-178) 的更多信息

产品


版本

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by