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

blockspointersrams-functionssimulink

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.

Best 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'])