果树» Access Data of Another GUI FIg in Matlab

Although matlab GUI is simple, we may still need multiple windows in one app. How to access data of another window is a problem. I searched a lot and encountered this post,

This post shows a simple yet efficient way to do so. However, not perfect. The code will activate the other window when acquiring the handle of window (put it on the top). So, I suggest a way. Let’s use parent window and child window to describe the two window according to which one opens the other.  Thus, one can keep the child window’s handle in the parent window at the first time of open child window, and at the same time, put parent window’s handle inside the child window so that the child window can access the parent window.

Here, I don’t show the code because I haven’t tried. Anyone tested could send me an example. I will put it here :)

郑重声明:资讯 【果树» Access Data of Another GUI FIg in Matlab】由 发布,版权归原作者及其所在单位,其原创性以及文中陈述文字和内容未经(企业库qiyeku.com)证实,请读者仅作参考,并请自行核实相关内容。若本文有侵犯到您的版权, 请你提供相关证明及申请并与我们联系(qiyeku # qq.com)或【在线投诉】,我们审核后将会尽快处理。
—— 相关资讯 ——