rohit_r
rohit_r

Reputation: 713

run a matlab script on a remote server

I have ssh access to a remote linux server and no admin rights. The server does not have matlab installed and I need to run a few matlab scripts. Are there any ways by which I can run these scripts on the server ? I read a few links saying to download the matlab compiler or runtime but they do not have detailed instructions on how to proceed and even less so pertaining to remote servers.

Upvotes: 0

Views: 807

Answers (1)

Max
Max

Reputation: 4045

Generally there are three options

  1. install MATLAB (it is available for Linux but you need to have admin rights..)
  2. box your scripts as distributables with the Application Compiler (as @UnbearableLigthness already mentioned). You will need to install the MATLAB Runtime on your Linux server to run those applications. However, you can package the runtime in the application (bulletpoint 3).
  3. create C code with the MATLAB Coder and compile it on your Linux server. This requires no installation but does not support all functions (e.g. most constrained optimization algorithms are not supported)

Upvotes: 3

Related Questions