Learning Tracking Control for Cyber-Physical Systems