From experiment design to closed-loop control