The developmental transition from a pelagic to a substrate oriented lifestyle. Settlement in larval fishes is often closely associated with metamorphosis from the larval to juvenile phase.