Gerardo Martino has confirmed he will leave Barcelona after a 1-1 draw with Atletico Madrid saw his side surrender the Spanish title.