필터 지우기
필터 지우기

Displaying Windows Command Prompt in Matlab Command Window

조회 수: 25 (최근 30일)
Ryan
Ryan 2018년 9월 13일
편집: Carlos Sarmento 2021년 3월 25일
Hello all,
I have an executable that I am running from Matlab that I would like to see running in real time. At the moment I can only run the .exe and echo the output. Is there a way to either display cmd prompt on the matlab command window or open the actual cmd prompt and see it running?
syscmd = strcat(filepath,EXEname);
system(syscmd,'-echo')
The executable outputs a whole bunch of data as its running, but I can't see it until its finished and it outputs a file. I know you can run:
system('cmd')
but you can't use Matlab variable names once inside the command prompt. Any help is much appreciated!
-Ryan

답변 (1개)

Carlos Sarmento
Carlos Sarmento 2021년 3월 25일
편집: Carlos Sarmento 2021년 3월 25일
I need to the same solution, anyone who help us?

카테고리

Help CenterFile Exchange에서 Application Deployment에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by