Requirements for Defining Memory Sections

Before you can define memory sections, you must do the following:

  1. Set the Simulink model's code generation target to an embedded target such as ert.tlc.

  2. If you need to create packages, specify package properties, or create classes, including custom storage classes, choose Tools > Data Class Designer in the model window.

    A notification box appears that states Please Wait ... Finding Packages. After a brief pause, the Simulink Data Class Designer appears:

    Instructions for using the Data Class Designer appear in Working with Data in the Simulink documentation. See also the instructions that appear when you click the Custom Storage Classes tab.

  3. If you need to specify custom storage class properties,

    1. Choose View > Model Explorer in the model window.

      The Model Explorer appears.

    2. Choose Tools > Custom Storage Class Designer in the Model Explorer window.

      A notification box appears that states Please Wait ... Finding Packages. After a brief pause, the notification box closes and the Custom Storage Class Designer appears.

    3. Select the Custom Storage Class tab. The Custom Storage Class pane looks like this:

    4. Use the Custom Storage Class pane as needed to specify custom storage class properties. Instructions for using this pane are in Designing Custom Storage Classes and Memory Sections.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS