MATLAB 帮助中心
在父窗口中移动或调整控件大小
V = move(c)
V = move(c,position)
V = move(c) 返回一个四元素向量,指示控件的当前位置。
V
c
V = move(c,position) 将控件移动到 position 指定的位置。
position
全部折叠
COM 对象,指定为函数句柄。
以 x,y 像素坐标表示的新位置,指定为整数。
示例: [0 0 200 200]
[0 0 200 200]
位置向量,指定为四元素整数向量,包含控件在父图窗窗口中的位置和大小。该向量的元素是 [x, y, width, height]。值 x 和 y 是从图窗窗口左下角到控件左下角的偏移量,以像素为单位。值 width 和 height 是控件本身的大小。
[x, y, width, height]
x
y
width
height
在 R2006a 之前推出
set | get
set
get
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处