What block can I use to write data to a specific memory address in Simulink?

1 view (last 30 days)
I would like to write data to a specific memory address using a Simulink block. However, I was not able to find a block that would enable me to do so.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Feb 2021
Edited: MathWorks Support Team on 22 Feb 2021
The ability to write data to a specific memory address using a Simulink block is not available. To work around this issue, you can write a C/C++ file S-function and use the S-Function block in your Simulink model.
For more information on S-functions, refer to the documentation here:
or use the following command in MATLAB 8.0 (R2012b):
 web([docroot '/simulink/sfg/how-to-implement-s-functions.html'])

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!