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.
コメント
コメントを残すには、ここ をクリックして MathWorks アカウントにサインインするか新しい MathWorks アカウントを作成します。