She was invited to speak at a function celebrating the end of the first semester for staff and students of the university's Spanish programme.
Dr Yanez, a senior lecturer in Spanish at the university's department of languages and cultures, said it was a tradition to have an international member of the Spanish community address students.
Spanish speaking Dunedin residents were also invited to the function, which included cultural music and food.