Auto-Type in Command Window

15 views (last 30 days)
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!

Accepted Answer

Jemima Pulipati
Jemima Pulipati on 25 Nov 2020
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 Comment
PathPlanner
PathPlanner on 25 Nov 2020
Thanks! That actually helps! I originally used a Robot Process Automation program to complete this, but I think this works better.

Sign in to comment.

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by