Code covered by the BSD License
texttotal=(inputdlg({'Text to Add'},'',1)); textadding=texttotal{1};
Contact us at files@mathworks.com