nancy2008521 发表于 2008-4-16 10:12

uicontrol中edit的用法

请教一下,一个图像分为若干块,我想使用edit,在edit中输入不同的块数之后,显示出不同块的图像,应该怎么做啊?谢谢

eight 发表于 2008-4-16 10:41

原帖由 nancy2008521 于 2008-4-16 10:12 发表 http://www.chinavib.com/forum/images/common/back.gif
请教一下,一个图像分为若干块,我想使用edit,在edit中输入不同的块数之后,显示出不同块的图像,应该怎么做啊?谢谢 先阅读关于GUI、关于矩阵的基础书或者资料,无非就是 get(handle.edit1, 'String') 、 :运算符和 imshow 的结合

nancy2008521 发表于 2008-4-17 14:15

做出来了。谢谢。原来忽略了tag。请问tag 在uicontrol中到底起到什么作用啊?实在是找不到资料可以看啊。

eight 发表于 2008-4-17 15:37

原帖由 nancy2008521 于 2008-4-17 14:15 发表 http://www.chinavib.com/forum/images/common/back.gif
做出来了。谢谢。原来忽略了tag。请问tag 在uicontrol中到底起到什么作用啊?实在是找不到资料可以看啊。
Tag
string (GUIDE sets this property)

User-specified object label. The Tag property
provides a means to identify graphics objects with a user-specified label.
This is particularly useful when constructing interactive graphics programs
that would otherwise need to define object handles as global variables or
pass them as arguments between callback routines. You can define Tag as
any string.
页: [1]
查看完整版本: uicontrol中edit的用法