function MTB_text1
hndl = uicontrol('units', 'normalized', ...
   'position', [0.3 0.475 0.4 0.05] , ...
   'style', 'text', ...
   'BackgroundColor', 'w', ...
   'FontSize', 15);

set(gcf, 'WindowButtonMotionFcn', {@moveFcn,hndl});
end

function moveFcn(src,~,hndl)
mousePos = get(src, 'CurrentPoint');
set(hndl, 'String', sprintf('x:%3.0f | y:%3.0f', mousePos));
end
