フィルターのクリア

how to display the result that i get from pushing a button in an edit box in matlab gui?

1 回表示 (過去 30 日間)
shafaq innam
shafaq innam 2013 年 7 月 20 日
sir i want to create a gui for watermarking text documents. the watermarking system reads text file word by word then selects the frequent occurring word as a keyword,the initial letters of preceding and the next words to the keyword are then used to generate a watermark pattern, now i want to make gui for that system. the gui should contain a read button to read the text file a keyword button to select the keyword from the document and display it in a text box and a watermark button to generate e watermark pattern and show it in an edit box. i am confused that how can i assign the output that i get from pressing button e.g if i push keyword button i get "the" as keyword i want this keyword to be displayed in an edit box or static text box as a result of pushing keyword button. how can i do this? i hope u can understand it now
  2 件のコメント
Jan
Jan 2013 年 7 月 20 日
Sorry, I still do not understand the problem. You want to show the string "the" in an edit field, this should work:
set(handles.edit1, 'String', 'the');
Does this help already?
shafaq innam
shafaq innam 2013 年 7 月 21 日
thanks it worked

サインインしてコメントする。

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by