Analysis

MATLAB User Guide


DesignSafe is able to provide access to the popular licensed software MATLAB to academic researchers via our license with Mathworks. You can request access to our licensed MATLAB, and we first verify that you are a researcher at an academic institution before providing you access.

We provide two MATLAB applications in the Workspace:

  • MATLAB
    • For lighter workloads not working with large datasets, this MATLAB application runs on TACC's DesignSafe VM (Virtual Machine).
    • It runs as an interactive MATLAB 2018b session on a virtual machine.
  • MATLAB Batch
    • For heavier workloads and large datasets, this MATLAB application runs on TACC's HPC resources.
    • It is a non-interactive application to run *.m scripts.
    • These sessions run on single node with 64 cores on Stampede2.
    • Different versions of MATLAB are available in this mode.

NOTE: Because MATLAB is an interactive program that you access in a GUI, you will not have the same responsiveness as running on your local laptop. We provide MATLAB as a convenience to interacting with your data in the Data Depot without having to download it to your local system, and also the version running on HPC resources is great for large datasets or heavy workloads that are too much for your laptop.


How to Start a MATLAB Interactive Session in the Workspace

MATLAB that runs on VM

  • Select the MATLAB application from the Data Processing tab in the Workspace.
  • Select MATLAB from the dropdown menu.
  • Select your desired desktop resolution from the dropdown menu.
  • Enter a maximum job runtime in the form. While this field is required in the form it is not actually used, simply enter any time using the time format shown.
  • Enter a job name.
  • Enter an output archive location or use the default provided.
  • Click Run to start your interactive session.

How to Submit a MATLAB Batch job in the Workspace

MATLAB Batch that runs on HPC

  • Select the MATLAB application from the Data Processing tab in the Workspace.
  • Select MATLAB (Batch 20XXa/b) version corresponding to your *.m script from the dropdown menu.
  • Locate the directory containing your data files in the Data Depot and follow the onscreen directions to enter this as your Working Directory.
  • Select your batch MATLAB script name. This file should reside in the Working Directory.
  • Enter a maximum job runtime in the form. See guidance on form for selecting a runtime.
  • Enter a job name.
  • Enter an output archive location or use the default provided.
  • Click Run to submit your job to stampede queue.

 

Last update: May 23, 2019