Auto-Type in Command Window

조회 수: 7 (최근 30일)
PathPlanner
PathPlanner 2020년 9월 14일
댓글: PathPlanner 2020년 11월 25일
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