Data Interchange Using the C API and External Mode

2 次查看(过去 30 天)
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