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

1 vue (au cours des 30 derniers jours)
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 commentaires
Jan
Jan le 20 Juil 2013
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?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by