Stuart’s MATLAB Videos

Watch and Learn

Accessing data from one widget to another in GUIDE 3

Posted by Doug Hull,

Last time, I showed how to add the newly documented UITABLE to a GUI. [click here] There were a few questions [click here] about how to access the data in the UITABLE from the callback of another widget. The answer to this question is applicable to all widgets, not just UITABLES. Basically, you are using the handles structure to access the handle of another control, then using the GET command to query it for its data.
 

3 CommentsOldest to Newest

Eugene Sheynin replied on : 1 of 3
Dear Doug Hull I was very impressed by your matlab videos. You are doing an excellent job! Cheers, Eugene Sheynin
Charles Dumont replied on : 2 of 3
Doug, How would you cause a button click in a GUI to change the text of an edit field in a second GUI (which is opened from a menu on the first one)?
dhull replied on : 3 of 3
@charles https://blogs.mathworks.com/videos/2005/10/03/guide-video-part-two/ This should get you pretty close to that goal. Doug