Exploring uitable properties
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.
- Category:
- Level: Basic,
- Topic: GUI or GUIDE
Comments
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.