copy string to other edit text in same GUI

1 回表示 (過去 30 日間)
Luhur
Luhur 2012 年 6 月 11 日
hi all
just wanna ask very simple question since im a beginner...
how to copy the same string between 2 or more edit text for example i will set: set(handles.editText1, 'String', 'a')
how can i set editText2, editText3, editText4, etc... to be the same as editText1 String which is 'a'
thanks

採用された回答

Walter Roberson
Walter Roberson 2012 年 6 月 11 日
set([handles.editText2, handles.editText3, handles.editText4], 'String', get(handles.editText1, 'String') )
  1 件のコメント
Luhur
Luhur 2012 年 6 月 11 日
thanks walter :)

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWord games についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by