change gui components properties from command window or other m file
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!