Spectral and temporal study of the evolution from modulational instability to solitary wave