Approximate supervisory control of nonlinear systems with outputs