2

I am new with using servers and currently, my PC has Windows 10 and Matlab 2016b. I have very long Matlab codes saved as m-files and when running these m-files on my PC, it takes a long time.

However, I can access our Linux server using Putty with a given ID and password. So, how I can run my Matlab codes on our server instead of on my local PC?

9
  • I assume that Linux server has Matlab installed on it as well? Commented Dec 26, 2018 at 9:58
  • No, I did not installed Matlab on Linux server, Should I install it? Please, how I can install it and then how I can run matlab m-file code on the server. I am new on dealing with the server. Commented Dec 26, 2018 at 11:00
  • you can install it on the linux server, only if you have the linux version of the Matlab setup. AND also if you have the rights/permissions to install things on the linux server. Commented Dec 26, 2018 at 11:02
  • Oh, I have only Matlab 2016b version that I working on it using windows 10. So, can I install it on the Linux server? Commented Dec 26, 2018 at 11:05
  • Could you share some useful links about how I can install Matlab on remote Linux server? Commented Dec 26, 2018 at 11:10

1 Answer 1

2

Assuming the Linux server has Matlab installed on it as well, (and that it has also been added to the path on the server), you can run your Matlab scripts from the terminal, simply by entering in the terminal, $ matlab your_script_name.m.

Also, there is the option to start Matlab on the remote server in command-line mode, by typing at the prompt $ matlab -nodesktop.

Finally, if you want to know a way on how to get your m-files from your PC to the remote Linux server, you can use a tool like winscp, which is often present in the company of putty.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.