Running matlab outside DTU through a tunnel

From ITSwiki
Revision as of 16:51, 11 June 2012 by Mttj (Talk | contribs)


Jump to: navigation, search

It is possible to run matlab on a notebook when not connected to the DTU wired network. However, one needs a special setup in order to reach the license server:

Windows

Use the ssh tunnel script.

Mac

<MISSING> (but it's quite similar to linux)

Linux

First open a windows with a shell and open connection to IMM using the following command.

ssh -L 1711:license1.cc.dtu.dk:1711 -L 1712:license1.cc.dtu.dk:1712  username@thinlinc.imm.dtu.dk

where username is your logon name on IMM UNIX systems. Leave this connection iconized.

In another command line window start matlab with the following command:

matlab -c 1711@localhost &