change gui components properties from command window or other m file

1 回表示 (過去 30 日間)
Ajay Chhokra
Ajay Chhokra 2012 年 9 月 3 日
Hey All
I have a problem while modifying gui components like string property of the edit text box from another m file. I have two files one is elevator_interface.m which (gui m file developed through guide)and other is algo.m. I need to modify the string property of the edit text box in the elevator_interface.m from algo.m

回答 (1 件)

Arthur
Arthur 2012 年 9 月 3 日
Check out Doug's guide on interaction between different GUIs. You can easily share variables (and in your case probably the handles structure) with setappdata/getappdata.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by