Borrar filtros
Borrar filtros

make matlab stop waiting for system return

3 visualizaciones (últimos 30 días)
Toke Søltoft
Toke Søltoft el 15 de Ag. de 2014
Respondida: Toke Søltoft el 19 de Ag. de 2014
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?

Respuesta aceptada

Toke Søltoft
Toke Søltoft el 19 de Ag. de 2014
no, but thanks anyway. I fixed it by calling a bat-file instead :D

Más respuestas (1)

A Jenkins
A Jenkins el 15 de Ag. de 2014
Do you have Parallel Computing Toolbox?
batch(@system,0,{'putty -load Terrameter -l root -pw root'})

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by