bring the external application window into focus

1 次查看(过去 30 天)
I have an external application running which I have opened from matlab. I need to get the application window into focus whenever I require. I have tried using Appactivate method from wScript shell but it doesn't work. Is there a way to bring the window into focus?
Thanks krishna.

回答(1 个)

Walter Roberson
Walter Roberson 2011-10-3
Did you use system() to start the application from MATLAB ? Or did you use winopen() ?
  1 个评论
Krishna
Krishna 2011-10-4
I used 'run' method from the wscript shell COM component. Also I used winopen. I tried both.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by