Introduction to Simulink with Engineering Applicatioins, Second Edition

This chapter is an introduction to the Additional Math - Increment / Decrement Library. This is the seventeenth library in the Simulink group of libraries and contains the blocks shown below. Their functions are illustrated with examples.


The Increment Real World block increases the real-world value of the signal by one.
The model of Figure 18.1 implements the function y = 3x + 5 as indicated by the XY Graph in Figure 18.2.

The Decrement Real World block decreases the real-world value of the signal by one.
The model of Figure 18.3 implements the function y = -3(x+ 1) as indicated by the XY Graph in Figure 18.4.

The Increment Stored Integer block increases the stored integer value of a signal by one.
The model of Figure 18.5 implements the function y = (2 + x) sin x - 1. The XY Graph for this model is shown in Figure 18.6.

The Decrement Stored Integer block decreases the stored integer value of...