How does the cerebral cortex control spinal cord function?
Under normal circumstances, the cerebral cortex directly controls the functions of the spinal cord, as well as indirectly controls them. A detailed analysis is as follows:

The cerebral cortex, as the higher center, has a complex structure and function, capable of integrating information from various sensory organs and making decisions and issuing commands based on this information. These commands are transmitted via the spinal cord to various parts of the body. The motor areas of the cerebral cortex, especially the primary motor cortex, send commands to the spinal cord through the pyramidal system. The pyramidal system includes the corticospinal tract and the corticobulbar tract, which originate from the cerebral cortex, pass through the brainstem, and ultimately reach the motor neurons of the spinal cord. This direct pathway enables the brain to precisely control muscle movements and perform complex actions.
The spinal cord also participates in regulating certain autonomic nervous system functions, such as heart rate, respiratory rate, and digestive system activity. Although these functions are primarily controlled by the hypothalamus in the brain, the cerebral cortex can indirectly influence the spinal cord's regulation of the autonomic nervous system through its connections with these regions.
It is recommended to maintain a regular daily routine and ensure adequate sleep time in order to enhance physical resistance and maintain normal body function.