Doug Hull, MathWorks
(Originally posted on Doug's MATLAB Video Tutorials blog.)
I got a question via e-mail that was asking how to set the data in a uitable. Setting the data in a uitable is as easy as: >> a = uitable >> set(a,'data', magic(3)) The important part of this video is seeing the thought process of discovering that. When you programmatically create a uicontrol, or uitable, you should capture the handle to that widget, as I did with a. When you have that handle you can GET or SET the properties of the widget.
Recorded: 29 Jan 2009