Input into a edit text box from a file ..

2 views (last 30 days)
Farjana Yeasmin
Farjana Yeasmin on 1 Dec 2014
Answered: dpb on 1 Dec 2014
I want to load the text in a file into a edit text box , by pressing a push button how can I do that ... plz help

Answers (1)

dpb
dpb on 1 Dec 2014
Read the file with impordata, textscan or whatever is appropriate depending on the file structure then set the 'String' property of the textbox to that text.
help iofun % get started w/ possible i/o functions
doc uicontrol % for controls

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!