MATLAB

Dartmouth College has a campus-wide site license for MATLAB from MathWorks. This site license permits students, faculty, and staff to install MATLAB on their own personal and Dartmouth/Thayer owned computers. This is a stand-alone license and does not require a connection to the Dartmouth network to run.

Installing MATLAB on your own computer

Download from Mathworks

Dartmouth's site-wide License allows for directly downloading from www.mathworks.com

Information on creating a MathWorks account and using MATLAB at Dartmouth is available at https://rcweb.dartmouth.edu/downloads/matlab/. From this page, click on the Site License Downloads link to find the actual Download and Installation instructions.

Using on Thayer Virtual Lab (Mac and Windows)

Install following the instructions for Virtual Computer Lab

Connect and run!

MATLAB Online

You can access a full-featured online version of MATLAB here: https://matlab.mathworks.com/

Keep in mind that you cannot access any ThayerFS, Jumbo or Google Drive data directly from the online version of MATLAB. You can upload to or download files from your MATLAB Drive here: https://drive.matlab.com/

Distributed computing with MATLAB

Information about parallel computing with the MATLAB Parallel Computing Toolbox is at:  https://www.mathworks.com/help/parallel-computing/

Documentation

MATLAB documentation is available online at:  https://www.mathworks.com/help/

Training

MATLAB training is provided each term by Research Computing. For more information, visit their Training page: https://rc.dartmouth.edu/index.php/training/

MathWorks offers training through their MATLAB Academy: https://matlabacademy.mathworks.com/

LinkedIn Learning has online training for MATLAB here: https://lil.dartmouth.edu/

Compiling

MATLAB programs can be compiled so that they can be run without using a license from Dartmouth's license server. Information about compiling MATLAB programs can be found here: https://www.mathworks.com/help/compiler/

Note that after you have compiled a MATLAB program on linux, you will need to alter some environment variables for the program to find the proper libraries:

export LD_LIBRARY_PATH=\
/thayerfs/apps/matlab/runtime/glnxa64:\
/thayerfs/apps/matlab/bin/glnxa64:\
/thayerfs/apps/matlab/sys/os/glnxa64:\
/thayerfs/apps/matlab/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:\
/thayerfs/apps/matlab/sys/java/jre/glnxa64/jre/lib/amd64/server:\
/thayerfs/apps/matlab/sys/java/jre/glnxa64/jre/lib/amd64
export XAPPLRESDIR=/thayerfs/apps/matlab/X11/app-defaults
		

These commands can be executed manually, through a script, with an alias, etc., but must be run prior to running your compiled MATLAB program.

Still need help? Contact Us Contact Us