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

1 Ansicht (letzte 30 Tage)
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.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 27 Jun. 2009
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.

Weitere Antworten (0)

Kategorien

Mehr zu DO Qualification Kit (for DO-178) finden Sie in Help Center und File Exchange

Produkte


Version

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by