The modulation of the intensity of phase-matched high-harmonic radiation from field-free aligned diatomic molecules due to changes of the nonlinear refractive index is used to determine rotational coherence in the ground state of molecules.