필터 지우기
필터 지우기

How to connect the computer with the server?

조회 수: 7 (최근 30일)
Jack_111
Jack_111 2013년 5월 24일
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
José-Luis
José-Luis 2013년 5월 24일
This is probably achieved easier with a script and ssh than with Matlab.

댓글을 달려면 로그인하십시오.

채택된 답변

Jan
Jan 2013년 5월 24일
편집: Jan 2013년 5월 24일
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
Jan
Jan 2013년 5월 24일
See [EDITED]. So at first clear the question how the server can be connected, then decide how to do this from Matlab afterwards.
Jack_111
Jack_111 2013년 5월 27일
Thank you, Jan Simon

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Image Analyst
Image Analyst 2013년 5월 24일
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
Image Analyst
Image Analyst 2013년 5월 27일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Server Management에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by