Synchronous firing of neurons in neural networks is of great physiological significance. Based on improved Hodgkin-Huxley model with electromagnetic induction, a modular neural network consisting of two small-world networks unidirectionally coupled is studied. By utilizing dynamic learning of synchronization (DLS) technique, it is shown that both synchronization and chimera states of modular neural networks can be achieved by dynamic adjustment of electromagnetic induction strength. Therefore, the generation of synchronized states can be controlled. By adjusting the electromagnetic induction s...