필터 지우기
필터 지우기

make matlab stop waiting for system return

조회 수: 3 (최근 30일)
Toke Søltoft
Toke Søltoft 2014년 8월 15일
답변: Toke Søltoft 2014년 8월 19일
I want to run a program (putty) to make a ssh connection. I do this by e.g.
system('putty -load Terrameter -l root -pw root');
Now Matlab is waiting for the command prompt to close. But I want Matlab to continue its code and not wait for a return from putty. I need to keep this prompt open while I continue my matlab code.
How is this possible?

채택된 답변

Toke Søltoft
Toke Søltoft 2014년 8월 19일
no, but thanks anyway. I fixed it by calling a bat-file instead :D

추가 답변 (1개)

A Jenkins
A Jenkins 2014년 8월 15일
Do you have Parallel Computing Toolbox?
batch(@system,0,{'putty -load Terrameter -l root -pw root'})

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by