More than 150 unvaccinated schoolchildren are being quarantined for 21 days in South Carolina after being exposed to measles, state officials said.