South Carolina coach Frank Martin and the Gamecocks held on to defeat Coastal Carolina Friday night in Columbia.