bring the external application window into focus

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 日

0 投票

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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeApp Building についてさらに検索

質問済み:

2011 年 10 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by