Real-Time Workshop    

Data Store Memory and Simulink Signal Objects

If you are not familiar with Simulink data objects and signal objects, you should read Simulink Data Objects and Code Generation before reading this section.

You can associate a Data Store Memory block with a signal object, and control code generation for the block through the signal object. To do this:

  1. Instantiate the desired signal object, and set its RTWInfo.StorageClass property as you require.
  2. Open the block parameters dialog box for the Data Store Memory block whose state you want to associate with the signal object. Enter the name of the signal object into the Data store name field.
  3. Make sure that the storage class and type qualifier settings of the block parameters dialog box are compatible with those of the signal object. See Resolving Conflicts in Configuration of Parameter and Signal Objects.
  4. Click Apply and close the dialog box.


  Storage Classes for Data Store Memory Blocks External Mode