Input into a edit text box from a file ..

1 次查看(过去 30 天)
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 个)

dpb
dpb 2014-12-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

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by