MATLAB
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.
MATLAB Session Options
MATLAB can be launched on Hyak using either of these methods:
- MATLAB via Command Line: load the MATLAB module on a compute node and run MATLAB from the terminal.
- MATLAB via Open OnDemand: launch MATLAB through Hyak's Open OnDemand web portal.
MATLAB License Authentication
UW's MATLAB license is transitioning from a concurrent license to a named-user license per the request from MathWorks MATLAB. Beginning August 1, 2026, only MATLAB R2023b and newer versions will be valid on Hyak due to this license change.
Firstly, make sure you have access to MathWorks account through your UW email.
- Students may obtain a free MATLAB license by visiting the UW portal at Mathworks to register your UW student Mathworks account.
- Faculty and staff may purchase MATLAB through UWare, which includes all toolboxes. Instructions and more details are available here.
- For command-line MATLAB sessions, users need to authenticate their named-user license with SSO using a one-time password:
- Launch MATLAB from the command line.
- When prompted, enter the email address associated with your UW MathWorks account.
- In a web browser, open the MathWorks one-time password page and sign in with UW SSO if prompted.
- Copy the one-time password from MathWorks into the MATLAB prompt.
$ module load matlab
$ matlab -nodisplay -notesktop
Please enter your MathWorks Account email address and press Enter: <UWNetID>@uw.edu
You need a one-time password to sign in. To get a one-time password, follow these steps:
1. Go to https://www.mathworks.com/mwa/otp
2. Enter your MathWorks Account email address.
3. Copy the generated one-time password.
4. Return here and enter the password.
Enter the one-time password:
xxxxxx
< M A T L A B (R) >
Copyright 1984-2026 The MathWorks, Inc.
R2026a Update 2 (26.1.0.3251617) 64-bit (glnxa64)
May 5, 2026
To get started, type doc.
For product information, visit www.mathworks.com.
>>
- For GUI MATLAB sessions, users will be prompted for signing in to their MathWorks account using UW email address the first time they launch MATLAB.

Then you need to complete the authentication with UW NetID SSO.

Once you've authenticated, MATLAB should not prompt you to sign in again until the license expires or the saved credentials are cleared.
MATLAB via Command Line
The latest Matlab version on klone is R2026a. You can use LMOD to load the module then run the binary, be sure to use the -nodisplay flag unless you enabled X11 forwarding to get the GUI.
n3000:~ $ module load matlab
n3000:~ $ matlab -nodisplay
< M A T L A B (R) >
Copyright 1984-2026 The MathWorks, Inc.
R2026a Update 2 (26.1.0.3251617) 64-bit (glnxa64)
May 5, 2026
To get started, type doc.
For product information, visit www.mathworks.com.
>>