Latour-de-Carol is the termination point of the Yellow Train running through the Pyrenees. I believe the next stop after Latour-de-Carol is Bourg-Madam, which is practically on the Spanish border, about 1 mile from the very pretty Spanish town of Puigcerda. It's a highly scenic ride to Villefranche-de-Conflent, a very touristy but also very attractive medieval town. Although the Yellow Train is very popular with tourists, it's an SNCF regional train, so the cost is very reasonable. I'm seeing 5-euro one-way fares for February; I believe I paid more than twice that for a round trip back in 2017.
Regular trains run east from Villefranche-de-Conflent to the coast at Perpignan. The station at Villefranche is called "Villefranche-de-Conflent – Vernet les Bains" and shows up on SNCF itineraries as "Villefranche Vernet les Bains".
The Yellow Train runs infrequently in winter. There are enough departures during warmer months (with some open carriages) to complete a round trip on the same day.