remotely control UNIX from within Matlab on Windows

  • Follow


hI all,

How do I do the following:

From within Matlab on Windows, open up an ssh session on a remote Unix
host,

and run one command,

and then run yet one more command,

etc.

and get back results into Matlab memory,

etc.

and then close the session...

How do I do this?

Thanks a lot!
0
Reply Luna 7/26/2010 10:36:23 PM

Luna Moon <lunamoonmoon@gmail.com> wrote in message <444c9293-339a-45e4-9137-ed0bd1ef9c74@t10g2000yqg.googlegroups.com>...
> hI all,
> 
> How do I do the following:
> 
> From within Matlab on Windows, open up an ssh session on a remote Unix
> host,
> 
> and run one command,
> 
> and then run yet one more command,
> 
> etc.
> 
> and get back results into Matlab memory,
> 
> etc.
> 
> and then close the session...
> 
> How do I do this?
> 
> Thanks a lot!

a hint:

     help unix;     % <- and siblings...

us
0
Reply us 7/26/2010 11:35:05 PM


Luna Moon wrote:

> How do I do the following:
> 
> From within Matlab on Windows, open up an ssh session on a remote Unix
> host,
> 
> and run one command,
> 
> and then run yet one more command,
> 
> etc.
> 
> and get back results into Matlab memory,
> 
> etc.
> 
> and then close the session...
> 
> How do I do this?

Is the sequence of commands to be executed known at the time you start 
the session and can you simply execute all the commands and then collect 
the output? Or is this an interface where the output from the Unix side 
is analyzed by the PC program and used to decide exactly what to execute 
next on the Unix side? Or is this more interactive with the user chosing 
different commands as they see the Unix results?

This ssh session: is it Matlab commands being executed or something else?

Getting the results back into Matlab: you don't say anything about the 
format the output would be in.
0
Reply Walter 7/27/2010 3:56:37 AM

2 Replies
240 Views

(page loaded in 0.106 seconds)

Similiar Articles:













7/24/2012 5:41:41 PM


Reply: