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
2009년 6월 27일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 DO Qualification Kit (for DO-178)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!