It is possible both in continuous and discrete time. We have

Link to original
Where , , , is now also dependent on time.

Otherwise it is very similar (Look at Kalman Filter 2 slides)