The focus of this paper is the implementation of a constrained predictive control algorithm implemented in Multi-Parametric Toolbox (MPT), which is a free MATLAB toolbox for design, analysis, and implementation of controllers for constrained linear, nonlinear, and hybrid systems. In general, MPT is used for modeling systems offline. The novelty of this study is that real-time mode MPT is used in process control. We also combined the Model Predictive Control Toolbox with MPT. This novel controller is considered a real-time controller of level-pressure systems. In this study, a special type of model predictive control algorithm, the constrained continuous-time generalized control, is used as a controller. The advantages of the controller are illustrated by comparing it to a decoupling PI control.