make matlab stop waiting for system return

4 次查看(过去 30 天)
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 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by