Differential equations for real-structured defectivity measures.