Hurricane Matthew lashed Florida with rain and howling winds and rolled northward up the US Atlantic coast.