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

回答(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

类别

帮助中心File Exchange 中查找有关 App Building 的更多信息

回答:

dpb
2014-12-1

Community Treasure Hunt

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

Start Hunting!

Translated by