https://nl.mathworks.com/help/matlab/ref/matlab.graphics.interaction.interactions.datatipinteraction.html
DataTipInteraction - Data tip interaction - MATLAB
A data tip interaction allows you to display data tips within a chart without having to select any buttons in the axes toolbar.
datatipinteractionmatlab