There must be some form of this still in practice in the UK, though maybe it doesn't do it while in motion.
I frequently have to get into a particular set of carriages on my journey home from central London, as the train divides en route.
I frequently have to get into a particular set of carriages on my journey home from central London, as the train divides en route.