Numerical simulations are performed to demonstrate that proportional-integral control, one of the most commonly used feedback schemes in control engineering, can stabilize propagating wave segments in excitable media to a desired size. The proportional-integral controller measures the size of a wave segment and applies a spatially uniform signal to the medium. This controller has the following features: difficult trial-and-error adjustment is not necessary, wave segments can be stabilized to different sizes without readjusting the controller, and the wave segment size can be maintained even in media having position-dependent parameters.