— We present a receding horizon optimal control approach for the one-dimensional linear wave equation. In order to prove stability and suboptimality of this approach we use a weighted energy as cost functional. Furthermore we apply similar methods to a semilinear parabolic equation.