Input into a edit text box from a file ..

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)

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

Asked:

on 1 Dec 2014

Answered:

dpb
on 1 Dec 2014

Community Treasure Hunt

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

Start Hunting!