Perturbation Levels of Integer Valued Blocks
A custom block that requires integer input ports for indexing might have linearization
issues when this block:
- Does not support small perturbations in the input value
- Accepts double-precision inputs
To fix the problem, try setting the perturbation level of such a block to zero (which sets
the block linearization to a gain of 1).
2 Linearization