The Princess Royal met and spoke to staff and students at the opening of the university’s Spatial Computing and Neurotechnology Innovation Hub (SCANi-hub).
The centre is pioneering research into human and computer interaction.
Princess Anne also visited the newly refurbished Magee campus library.
Vice chancellor Prof Paddy Nixon said Princess Anne was welcomed “with a great sense of pride.”
He said the SCANi-hub will allow Magee students and researchers to “help define how humans will interact with technology in the future.”
The Princess Royal also met with Prof Louise Dubras, the university’s foundation dean of the school of medicine to discuss the plans for the North of Ireland’s second medical training school.
A cash injection of £60 million was announced on Wednesday for the school at Ulster University’s Magee campus.