Using Pointer in Simulink function

Model explains how to use a pointer arguments in a C/C++ generated code from Simulink function

이 제출물을 팔로우합니다

Objective: To use pointer arguments in auto generated code from Simulink.
Following steps are implemented in the Simulink model
  1. Create a Simulink function with input and output arguments
  2. Right click the block and navigate to C/C++ code --> C/C++ Function Interface
  3. Configure C/C++ Return Argument to Void, this modifies all the output arguments defined in simulink function to pointer

인용 양식

Muthukumar Ganesan (2026). Using Pointer in Simulink function (https://kr.mathworks.com/matlabcentral/fileexchange/116510-using-pointer-in-simulink-function), MATLAB Central File Exchange. 검색 날짜: .

태그

태그 추가

Add the first tag.

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0