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

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

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 Coder 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!