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
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/
MATLAB documentation is available online at: https://www.mathworks.com/help/
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/
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:
These commands can be executed manually, through a script, with an alias, etc., but must be run prior to running your compiled MATLAB program.
Updating/Re-Activating MATLAB License
If your license is expiring or has expired, follow these instructions to update your license.
Saving results automatically
End Matlab Scripts with the save command. Code to save all variables in current session:
Filename = sprintf('results_%s.mat', datestr(now,'mm-dd-yyyy HH-MM')); save(Filename)