Main Content

Reduce Memory Usage for Boolean and State Configuration Variables

  1. Open the Model Configuration Parameters dialog box.

  2. In the Model Configuration Parameters dialog box, select the Optimization pane.

  3. Choose from these options:

    • Use bitsets for storing state configuration — Reduces the amount of memory that stores state configuration variables. However, it can increase the amount of memory that stores target code if the target processor does not include instructions for manipulating bitsets.

    • Use bitsets for storing Boolean data — Reduces the amount of memory that stores Boolean variables. However, it can increase the amount of memory that stores target code if the target processor does not include instructions for manipulating bitsets.

      Note

      You cannot use bitsets when you generate code for these cases:

      • An external mode simulation

      • A target that specifies an explicit structure alignment

See Also

|

Related Topics