Explanation:
Given that the hot water runs through a pipe in cold room,
Since the water is not entering the room,there is no transfer of water.
So,there is no transfer of matter.
Since the heat is transferring from pipe to the room which is making the room hot,
there is a transfer of energy.
So,there is energy transfer but no matter transfer.