Skip to content

Matlab

Aim: This page contains information about the Matlab software and how you can access it as a Nikhef employee.

Introduction

MATLAB is a proprietary multi-paradigm programming language and numeric computing environment developed by MathWorks. MATLAB allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages. Although MATLAB is intended primarily for numeric computing, an optional toolbox uses the MuPAD symbolic engine allowing access to symbolic computing abilities. An additional package, Simulink, adds graphical multi-domain simulation and model-based design for dynamic and embedded systems.

Prerequisites

Usage

How to use Matlab

You can use Matlab on a CT managed Windows machine. It is also possible to use Matlab on a laptop that was purchased by Nikhef. In both cases you can send an email to helpdesk-at-nikhef.nl. Please provide the hostname of your CT managed Windows machine. We can install this remotely without interruption from your work. An appointment must be made for installation on your laptop purchased by Nikhef.

How to use Nikhef Matlab license

Nikhef uses a floating license for Matlab. This means that a limited number of users can use the software at the same time. We therefore kindly ask you to close the software if you are not actively using it so that your license can be used by a colleague. Also, specific toolboxes have also been purchased by a number of departments. We can't just install the toolboxes at every computer, this will be decided depending on which department you work for.

How to use Matlab License outside Nikhef

To get a MATLAB License outside Nikhef a SSH tunnel must be made to the license server via IPv4. This can be done with different implementation of SSH (e.g., OpenSSH and PuTTY). The following ports must be connected to the server from localhost:

27006:ribes.nikhef.nl:27006
27007:ribes.nikhef.nl:27007
For OpenSSH this can be done as follows:

ssh -4 -L 27006:ribes.nikhef.nl:27006 -L 27007:ribes.nikhef.nl:27007 <username>@login.nikhef.nl
In PuTTY the tunnels can be added through via Connection -> SSH -> Tunnels. Put them on IPv4!

In the local MATLAB Licenses folder a file must be added (e.g., tunnel.lic) with the following content:

SERVER 127.0.0.1 089E01395890 27006
USE_SERVER
After this MATLAB should be usable.