MATLAB: How to display instruction when the cursor on the edit box in matlab

cursorinstructionontheeditbox

could I do it in matlab , I mean when the user put the cursor on the edit box I wanna display instruction about the values to be entered in the edit box?

Best Answer

Something like this?
figure();
uicontrol('Style', 'Edit', 'String', 'My edit box','TooltipString', 'My tooltip');