How to set-up simulink coder to generate input/output variables as pointers

조회 수: 13 (최근 30일)
Brandon
Brandon 2013년 10월 15일
답변: Jean-Paul Marcade 2021년 3월 5일
I am trying to set-up a Simulink model such that the auto generated C-code creates interfaces as pointers. That way I can avoid double storage for legacy code that interfaces with generated code.

답변 (1개)

Jean-Paul Marcade
Jean-Paul Marcade 2021년 3월 5일
This can be achieved through the code mapping menu once you are in the code generation view. You will find more details:https://www.mathworks.com/help/rtw/ug/control-data-interface-in-the-generated-code.html

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by