The electromagnetic source of dilaton radiation is a first invariant of the electromagnetic field tensor. For electromagnetic waves, this invariant can be nonzero only in the near zone. Pulsars and magnetars are natural sources of this type. We calculated the generation of dilatons by a coherent electromagnetic field of rotating magnetic dipole moments of pulsars and magnetars. It was shown that the radiation of dilaton waves occurs at two frequencies: the rotation frequency $$\omega $$
ω
of the magnetic dipole moment of the neutron star, and twice that frequency. The generation of dilatons at frequency $$\omega $$
ω
is maximal when the angle between the magnetic dipole moment and the axis of its rotation is $$\pi /4.$$
π
/
4
.
If this angle is $$ \pi /2,$$
π
/
2
,
then dilaton radiation at frequency $$\omega $$
ω
does not occur. The generation of dilatons at frequency $$2\omega $$
2
ω
is maximal when the angle between the magnetic dipole and the axis of its rotation is $$\pi /2.$$
π
/
2
.
The angular distribution of radiation of dilatons having a frequency of $$\omega $$
ω
is maximal along the conic surfaces $$\theta =\pi /4$$
θ
=
π
/
4
and $$\theta =3\pi /4.$$
θ
=
3
π
/
4
.
The angular distribution of radiation of dilatons having a frequency of $$2\omega $$
2
ω
is maximal in the plane perpendicular to the axis of rotation $$(\theta =\pi /2).$$
(
θ
=
π
/
2
)
.