DSP Blockset    

Boolean Support

Many DSP Blockset blocks accept or output logical signals. All such blocks support the Boolean data type at their appropriate ports:

The following topics provide more information on Boolean data type support:

Advantages of Using the Boolean Data Type

Using the Boolean data type rather than floating-point data types speeds up simulations and results in smaller, faster generated C code. (For more on generated code, see Code Generation Support.)


  Blocks Supporting Fixed-Point Lists of Blocks Supporting Boolean Inputs or Outputs