How to transfer .mat files from Windows to RedHat Linux?

4 Ansichten (letzte 30 Tage)
Lena Chang
Lena Chang am 28 Mai 2014
Kommentiert: Image Analyst am 28 Mai 2014
Hi,
Is there a sample Matlab script to transfer .MAT file from Windows 7 to Linux Red Hat using Matlab, automatically?
In another word, I'm looking for a sample batch script to do automatic transfer using MAtlab.
Right now, I'm able to send information using fwrite() function, but I need to transfer a large amount of data in a short period of time.
Thanks, Lena

Antworten (1)

Image Analyst
Image Analyst am 28 Mai 2014
Why not use an external hard drive? Or a flash drive if the mat file is less than 32 GB or so?
Or, if you need to or want to do it via MATLAB code, and if both computers are connected via the LAN, just use system() to call the operating system's command to copy the file.
  2 Kommentare
Lena Chang
Lena Chang am 28 Mai 2014
thanks for the answer. I've rephrase the quesiton a bit hoping to make it more clear.
Yes, I need to do it via Matlab code, and both computers are connected via the LAN. I'm looking for something that's like WinSCP but is run by Matlab.
Image Analyst
Image Analyst am 28 Mai 2014
But you didn't say what was wrong with just using system() to do the copying. Or copyfile()? And why you need to do it via MATLAB.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by