MATLAB#

Who can use MATLAB#

Only vsc3* users (affiliated with KU Leuven) who are members of the lli_matlab group have rights to use the MATLAB module (hence the MATLAB app). If you are not already member of the group, contact the KU Leuven supprt team for an invitation, or request joining this group via your VSC account page.

Only vsc1* users (affiliated with VUB) who are members of the brusselall group have rights to use the MATLAB app.

Before you connect#

(NA)

MATLAB automatically generates several hidden folders in your $VSC_HOME, including the folder .MathWorks, which can become quite big over time. To prevent $VSC_HOME from filling up, we recommend creating symlinks to redirect this folder to your $VSC_DATA directory. If this folder already exists, you can safely delete it. Execute the following commands to automate the process:

rm -rv ~/.MathWorks
mkdir -pv $VSC_DATA/.MathWorks
ln -sv $VSC_DATA/.MathWorks ~/.MathWorks

Launching MATLAB#

To launch MATLAB via the OnDemand web portal, select your desired MATLAB version from the drop-down menu in the resources form. Given that our current MATLAB installations automatically detect GPU devices and CUDA libraries, you may also request GPU(s) as resources, if needed.

Once you launch the session, a remote noVNC desktop will start on a compute node. Once the session starts, the selected MATLAB module will be loaded, and eventually the MATLAB GUI will pop up (after waiting for a few seconds).

Upon launching the session, the selected MATLAB module is loaded and the MATLAB Proxy starts, which then launches MATLAB and provides web-based access to it (after waiting for a few minutes).