Data Interchange Using the C API and External Mode

조회 수: 3 (최근 30일)
Carlos
Carlos 2013년 9월 18일
I need change the parameters during HIL (hardware in the loop) execution without Matlab. I have seen the "Data Interchange Using the C API" but due to my requeriments I can't clear the external mode. When I select both occurs this error:
Error: Simulink Coder does not support both External Mode and the C API at the same time.
Are there any manner to generate a C-file with the information of the parameters that appears in "Data Interchange Using the C API" (rtModelParameters, rtDataAddrMap, rtDataTypeMap, rtDimensionMap, rtFixPtMap) to access them?.
I have seen the files "capilib.tlc" and "capi.tlc" but they are very cumbersome.
Thanks in advance.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by