If you mean a uicontrol textbox, they're static controls and users cannot change text interactively. You can only programmatically update the 'string' property.
IOW, that's the normal and expected behavior.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!