This outpatient diagnostic test is used to evaluate the health of muscles and the nerves, called motor neurons, which control the muscles. EMG is a valuable diagnostic device for determining the cause of muscle weakness and for identifying neurologic disorders.