Andy Murray said he is hopeful of playing at Wimbledon and confirmed that if he is fit to play there and at the Olympics, then he is likely to retire.