Process remote data with local matlab
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
CP
el 30 de Sept. de 2011
Respondida: Ayush Pandey
el 15 de Jun. de 2015
I'm using a remote system to run C code to generate data, and then I want to use a local copy of matlab to analyze that data. Is it possible to SSH into a remote server with matlab and read data files for analysis? Unfortunately the remote server is a supercomputing cluster and doing trivial analysis of the data means having to wait in a queue for other more intensive computations to complete, so I'd like to analyze the data locally if possible.
0 comentarios
Respuesta aceptada
Walter Roberson
el 30 de Sept. de 2011
Consider using
system('scp RemoteSystem:/path/to/remote/file /path/to/local/file')
4 comentarios
Walter Roberson
el 5 de Oct. de 2011
MATLAB does not have scp support built in -- e.g., you cannot use scp: as a URI.
It would likely be possible to use loadlib() or build a mex interface to communicate between MATLAB and scp.
I would not anticipate that anyone would bother to implement scp in pure MATLAB, as it is a complicated protocol with many security risks if it is not implemented by people familiar with securatizing programs. MATLAB is, though, really not designed for securatizing programs.
Más respuestas (1)
Ayush Pandey
el 15 de Jun. de 2015
I am having the same problem since many many days now. Can somebody guide me to achieve the thing as mentioned in the main question. Currently, I have access to the remote files via SSH. (On Ubuntu Linux 14.04, MATLAB R2015a)
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!