Swindon's goals were scored by Ibon Arrieta on 26 minutes, new loan signing Simon Cox after 41 minutes, then Chris Blackburn with 2 second half goals after 68 and 81 minutes.
Brentford's goal was scored by Ricky Shakes who joined them from Swindon back in the summer.