Using Pointer in Simulink function

버전 1.0.0 (20.9 KB) 작성자: Muthukumar Ganesan
Model explains how to use a pointer arguments in a C/C++ generated code from Simulink function
다운로드 수: 161
업데이트 날짜: 2022/8/20

라이선스 보기

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. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2018b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가
버전 게시됨 릴리스 정보
1.0.0