The primary function of Nogo-A is to inhibit axonal growth, which plays a part in the regulation of neuronal plasticity. This inhibition is crucial during development to ensure proper neural network formation. However, in the context of injury, the same inhibitory properties of Nogo-A can prevent axonal regeneration, posing a challenge for recovery.