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 件)

dpb
dpb 2014 年 12 月 1 日

0 投票

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 ExchangeApp Building についてさらに検索

質問済み:

2014 年 12 月 1 日

回答済み:

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