p***n 发帖数: 344 | 1 【 以下文字转载自 Science 讨论区,原文如下 】
发信人: plain (永远有多远?), 信区: Science
标 题: 裸泳请教matlab高手 ^_^
发信站: Unknown Space - 未名空间 (Fri Jun 25 18:42:00 2004) WWW-POST
怎样用matlab 选定一个窗口(非matlab程序),然后关闭之?
谢谢! |
c*******e 发帖数: 8624 | 2 help close
【在 p***n 的大作中提到】 : 【 以下文字转载自 Science 讨论区,原文如下 】 : 发信人: plain (永远有多远?), 信区: Science : 标 题: 裸泳请教matlab高手 ^_^ : 发信站: Unknown Space - 未名空间 (Fri Jun 25 18:42:00 2004) WWW-POST : 怎样用matlab 选定一个窗口(非matlab程序),然后关闭之? : 谢谢!
|
p***n 发帖数: 344 | 3 老大能不能具体一点?关键是我要关闭一个external的东西,不是matlab自己的东西呀。
直接用close可能不行巴?
【在 c*******e 的大作中提到】 : help close
|
r**********e 发帖数: 28 | 4 I think there should be two steps:
I am not sure how it works for matlab, I know a little about IDL. But I think
there should be some parallel functions. I illustrate in IDL
1) when you open a wondow, you may need label the window.
window, 1 ; this is to open a window 1
2) then you can close the window with a window closing command
wdelete, 1
Hope this help.
If you solve the problem, let us know
。
【在 p***n 的大作中提到】 : 老大能不能具体一点?关键是我要关闭一个external的东西,不是matlab自己的东西呀。 : 直接用close可能不行巴?
|
a***r 发帖数: 35 | 5 裸泳?ft
【在 p***n 的大作中提到】 : 【 以下文字转载自 Science 讨论区,原文如下 】 : 发信人: plain (永远有多远?), 信区: Science : 标 题: 裸泳请教matlab高手 ^_^ : 发信站: Unknown Space - 未名空间 (Fri Jun 25 18:42:00 2004) WWW-POST : 怎样用matlab 选定一个窗口(非matlab程序),然后关闭之? : 谢谢!
|
a**a 发帖数: 63 | 6 I can think of a method by mimicing the mouse click on the "X" button of the
window. Search matlab filecentral for the mouse click. You should be able to
calculate the location (relative to root screen) of the "X" button, right?
【在 p***n 的大作中提到】 : 【 以下文字转载自 Science 讨论区,原文如下 】 : 发信人: plain (永远有多远?), 信区: Science : 标 题: 裸泳请教matlab高手 ^_^ : 发信站: Unknown Space - 未名空间 (Fri Jun 25 18:42:00 2004) WWW-POST : 怎样用matlab 选定一个窗口(非matlab程序),然后关闭之? : 谢谢!
|
P****S 发帖数: 2286 | 7
I think you need to build an external library for such operation.
【在 p***n 的大作中提到】 : 【 以下文字转载自 Science 讨论区,原文如下 】 : 发信人: plain (永远有多远?), 信区: Science : 标 题: 裸泳请教matlab高手 ^_^ : 发信站: Unknown Space - 未名空间 (Fri Jun 25 18:42:00 2004) WWW-POST : 怎样用matlab 选定一个窗口(非matlab程序),然后关闭之? : 谢谢!
|
e***l 发帖数: 4 | 8 you need some ps&kill utilities. not matlab.
(eval can be used to call them, or just add a prefix !)
【在 p***n 的大作中提到】 : 【 以下文字转载自 Science 讨论区,原文如下 】 : 发信人: plain (永远有多远?), 信区: Science : 标 题: 裸泳请教matlab高手 ^_^ : 发信站: Unknown Space - 未名空间 (Fri Jun 25 18:42:00 2004) WWW-POST : 怎样用matlab 选定一个窗口(非matlab程序),然后关闭之? : 谢谢!
|