I asked that question a few years back. Basically, you have to mold it into the gelcoat. Some of the companies that sell resin and gelcoat sell molding kits for repairs. Here is a good howto from west systems:
http://www.westsystem.com/ewmag/22/nonskid.html