Reconstructing and cotrolling nonlinear complex systems