フィルターのクリア

How to use SendKeys

8 ビュー (過去 30 日間)
Nikolai
Nikolai 2014 年 7 月 11 日
コメント済み: 大卫 杨 2022 年 10 月 13 日
Hello everybody,
!.) I try to command Siemens NX by Matlab and I tried to use Sendkeys:
h = actxserver('WScript.Shell'); h.Run ('"C:\Program Files\Siemens\NX 9.0\UGII\ugraf.exe" -nx'); pause (3); h.AppActivate ('"C:\Program Files\Siemens\NX 9.0\UGII\ugraf.exe" -nx'); h.SendKeys ('^N')
Matlab invokes NX; unfortenately no new file (--> strg+N) is opened! Why does it not work? Does somebody have an idea?
2.) My second possibility is to command Siemens NX by system:
status = system ('C:\Program Files\Siemens\NX 8.5\UGII\ugraf.exe')
Matlab invokes NX but I have no idea how to go on?
Can somebody help me????
Kind regards,
niko9310

回答 (1 件)

大卫 杨
大卫 杨 2022 年 10 月 13 日
I have the same question.
  1 件のコメント
大卫 杨
大卫 杨 2022 年 10 月 13 日
now looking for the answer.

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

Community Treasure Hunt

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

Start Hunting!

Translated by