You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Objective: To use pointer arguments in auto generated code from Simulink.
Following steps are implemented in the Simulink model
- Create a Simulink function with input and output arguments
- Right click the block and navigate to C/C++ code --> C/C++ Function Interface
- Configure C/C++ Return Argument to Void, this modifies all the output arguments defined in simulink function to pointer
Cite As
Muthukumar Ganesan (2026). Using Pointer in Simulink function (https://www.mathworks.com/matlabcentral/fileexchange/116510-using-pointer-in-simulink-function), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (20.9 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |