Auto-Type in Command Window

7 次查看(过去 30 天)
Hello!
I'm running a script that is an exe, and when I try running it from a matlab program, it lets me type commands in the command window which are sent to the exe to control that application. My question is, is there a command that I can use which auto-types commands in the command window so that it gets sent to the exe automatically, instead of me having to type those commands in the command window manually?
Thank you all Matlab Community!

采纳的回答

Jemima Pulipati
Jemima Pulipati 2020-11-25
Hello,
From my understanding, you want to find an easier approach to give the commands from the command window while running the .exe file.
You can use MATLAB's Favorite Commands which lets you execute a group of language statements as if you ran them from the command window itself.
You may also use Tab completion to avoid repetitive typing in the command window.
  1 个评论
PathPlanner
PathPlanner 2020-11-25
Thanks! That actually helps! I originally used a Robot Process Automation program to complete this, but I think this works better.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by