Speed considerations

To maximize performance on the target:

      Avoid use of floating-point blocks if you are targeting a fixed-point system. To identify floating-point blocks, activate View > Data Types. Floating-point pins are colored red.

      Avoid use of divide (/) blocks. Division is 10 to 20 times slower than multiplication: when dividing by a constant, multiply by the inverse instead.

      Avoid use of numerical integration (1/S) blocks. These blocks use floating-point operations and invokes the integration engine.