How to connect the computer with the server?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have measurement running and I get results out of it around 100MB per measurement and I want to copy these files to the server automatically after each measurement and then delete the files from the computer.
How can I do that?
1 Kommentar
Akzeptierte Antwort
Jan
am 24 Mai 2013
Bearbeitet: Jan
am 24 Mai 2013
It depends on how the client is connected to the server. Perhaps you can write directly to a network drive, when there is a shared folder on the server. Or you have to do a scp or ftp call. But it is your job to find out this detail and we cannot guess it. In addition, this question does not concern Matlab, but your network setup. Therefore it will be better to ask your network admin, and not a Matlab forum.
[EDITED] If you find out, that there is e.g. a shared folder on the server, which is available as network drive under Windows, you can perform the copy under Matlab easily using copyfile. Otherwise SCP could be a solution, e.g.:
3 Kommentare
Jan
am 24 Mai 2013
See [EDITED]. So at first clear the question how the server can be connected, then decide how to do this from Matlab afterwards.
Weitere Antworten (1)
Image Analyst
am 24 Mai 2013
I copy stuff back and forth all the time to our statistics server simply using the copyfile() function in MATLAB. It's really easy. Did you try that?
1 Kommentar
Image Analyst
am 27 Mai 2013
I totally don't understand. What do you mean "automatically"? Just put that copyfile() line in your code after each measurement, and it will do it "automatically" after each measurement.
Siehe auch
Kategorien
Mehr zu Server Management 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!