Difference between revisions of "Software:matlab"
Line 3: | Line 3: | ||
Previously, using MATLAB required a user-supplied license (and a lot of effort) to run on our systems. '''CAC now has an academic license for MATLAB provided by Queen's University'''. For a personal MATLAB license through Queen's University, see [http://www.queensu.ca/its/software/enterprise-licenced-software/matlab the ITS software page]. | Previously, using MATLAB required a user-supplied license (and a lot of effort) to run on our systems. '''CAC now has an academic license for MATLAB provided by Queen's University'''. For a personal MATLAB license through Queen's University, see [http://www.queensu.ca/its/software/enterprise-licenced-software/matlab the ITS software page]. | ||
− | * ''' | + | * '''Versions''': R2017a, R2018b, R2021a, R2023a, R2024b |
* '''List of installed toolboxes and products''': [https://www.mathworks.com/academia/tah-portal/queens-university-products.html?s_tid=tah_po_list_queensu] | * '''List of installed toolboxes and products''': [https://www.mathworks.com/academia/tah-portal/queens-university-products.html?s_tid=tah_po_list_queensu] | ||
* '''Statement''': [https://info.cac.queensu.ca/wiki/files/2017/05/cac-matlab-statement.pdf Necessary for accessing the software] | * '''Statement''': [https://info.cac.queensu.ca/wiki/files/2017/05/cac-matlab-statement.pdf Necessary for accessing the software] | ||
Line 15: | Line 15: | ||
== Running MATLAB == | == Running MATLAB == | ||
− | To load MATLAB, use the command <code>module load matlab</ | + | Note, Matlab is part of the Queen's University site license. User's must [[https://www.mathworks.com/mwaccount/register?uri=https%3A%2F%2Fwww.mathworks.com%2Flicensecenter%2Ftotal_headcount%2F10043-12328-05753-02778-80949&form_type=tah_portal|create a matlab account]]. When you first start Matlab, you'll be prompted to log into your matlab account, if this fails (times out e.g.), you can generate a one-time pass (OTP) code and use that. This should only happen the first time you start matlab. |
+ | |||
+ | To load MATLAB (e.g. version R2024b), use the command <code>module load matlab</R2024b>. If your SSH client supports X-forwarding (and you have logged in using X-forwarding using <code>ssh -X</code>), you can bring up the MATLAB user interface with the command <code>matlab</code>. Note that this may be very slow because our nodes don't have hardware support for the graphics, so that it has to be rendered by the CPU. | ||
To run MATLAB without the GUI use the command <code>matlab -nodisplay</code> | To run MATLAB without the GUI use the command <code>matlab -nodisplay</code> | ||
Line 42: | Line 44: | ||
== Toolboxes == | == Toolboxes == | ||
− | The following toolboxes are installed / available for | + | The following toolboxes are installed / available for MATLAB version R2024b. This may vary older versions. |
<pre> | <pre> | ||
− | MATLAB Version | + | MATLAB Version 24.2 (R2024b) |
− | Simulink Version | + | Simulink Version 24.2 (R2024b) |
− | Bioinformatics Toolbox Version | + | 5G Toolbox Version 24.2 (R2024b) |
− | Communications | + | AUTOSAR Blockset Version 24.2 (R2024b) |
− | Computer Vision | + | Aerospace Blockset Version 24.2 (R2024b) |
− | Control System Toolbox Version | + | Aerospace Toolbox Version 24.2 (R2024b) |
− | Curve Fitting Toolbox Version | + | Antenna Toolbox Version 24.2 (R2024b) |
− | DSP System Toolbox Version | + | Audio Toolbox Version 24.2 (R2024b) |
− | Database Toolbox Version | + | Automated Driving Toolbox Version 24.2 (R2024b) |
− | Econometrics Toolbox Version | + | Bioinformatics Toolbox Version 24.2 (R2024b) |
− | Embedded Coder Version | + | Bluetooth Toolbox Version 24.2 (R2024b) |
− | Filter Design HDL Coder Version | + | C2000 Microcontroller Blockset Version 24.2 (R2024b) |
− | Financial Instruments Toolbox Version | + | Communications Toolbox Version 24.2 (R2024b) |
− | Financial Toolbox Version | + | Computer Vision Toolbox Version 24.2 (R2024b) |
− | Fixed-Point Designer Version | + | Control System Toolbox Version 24.2 (R2024b) |
− | Fuzzy Logic Toolbox Version | + | Curve Fitting Toolbox Version 24.2 (R2024b) |
− | Global Optimization Toolbox Version | + | DDS Blockset Version 24.2 (R2024b) |
− | HDL Coder Version | + | DSP HDL Toolbox Version 24.2 (R2024b) |
− | HDL Verifier Version | + | DSP System Toolbox Version 24.2 (R2024b) |
− | Image Acquisition Toolbox Version | + | Database Toolbox Version 24.2 (R2024b) |
− | Image Processing Toolbox Version | + | Datafeed Toolbox Version 24.2 (R2024b) |
− | Instrument Control Toolbox Version | + | Deep Learning HDL Toolbox Version 24.2 (R2024b) |
− | MATLAB Coder Version | + | Deep Learning Toolbox Version 24.2 (R2024b) |
− | MATLAB Compiler Version | + | Econometrics Toolbox Version 24.2 (R2024b) |
− | MATLAB Compiler SDK Version | + | Embedded Coder Version 24.2 (R2024b) |
− | Mapping Toolbox Version | + | Filter Design HDL Coder Version 24.2 (R2024b) |
− | + | Financial Instruments Toolbox Version 24.2 (R2024b) | |
− | Optimization Toolbox Version | + | Financial Toolbox Version 24.2 (R2024b) |
− | Parallel Computing Toolbox Version | + | Fixed-Point Designer Version 24.2 (R2024b) |
− | Partial Differential Equation Toolbox Version 2. | + | Fuzzy Logic Toolbox Version 24.2 (R2024b) |
− | RF Toolbox Version | + | GPU Coder Version 24.2 (R2024b) |
− | Robust Control Toolbox Version | + | Global Optimization Toolbox Version 24.2 (R2024b) |
− | Signal Processing Toolbox Version | + | HDL Coder Version 24.2 (R2024b) |
− | SimEvents Version | + | HDL Verifier Version 24.2 (R2024b) |
− | Simscape Version | + | Image Acquisition Toolbox Version 24.2 (R2024b) |
− | Simscape Multibody Version | + | Image Processing Toolbox Version 24.2 (R2024b) |
− | Simulink 3D Animation Version | + | Industrial Communication Toolbox Version 24.2 (R2024b) |
− | Simulink Coder Version | + | Instrument Control Toolbox Version 24.2 (R2024b) |
− | Simulink Control Design Version | + | LTE Toolbox Version 24.2 (R2024b) |
− | Simulink Design Verifier Version | + | Lidar Toolbox Version 24.2 (R2024b) |
− | Simulink | + | MATLAB Coder Version 24.2 (R2024b) |
− | Stateflow Version | + | MATLAB Compiler Version 24.2 (R2024b) |
− | Statistics and Machine Learning Toolbox Version | + | MATLAB Compiler SDK Version 24.2 (R2024b) |
− | Symbolic Math Toolbox Version | + | MATLAB Report Generator Version 24.2 (R2024b) |
− | System Identification Toolbox Version | + | MATLAB Test Version 24.2 (R2024b) |
− | Wavelet Toolbox Version | + | Mapping Toolbox Version 24.2 (R2024b) |
+ | Medical Imaging Toolbox Version 24.2 (R2024b) | ||
+ | Mixed-Signal Blockset Version 24.2 (R2024b) | ||
+ | Model Predictive Control Toolbox Version 24.2 (R2024b) | ||
+ | Model-Based Calibration Toolbox Version 24.2 (R2024b) | ||
+ | Motor Control Blockset Version 24.2 (R2024b) | ||
+ | Navigation Toolbox Version 24.2 (R2024b) | ||
+ | Optimization Toolbox Version 24.2 (R2024b) | ||
+ | Parallel Computing Toolbox Version 24.2 (R2024b) | ||
+ | Partial Differential Equation Toolbox Version 24.2 (R2024b) | ||
+ | Phased Array System Toolbox Version 24.2 (R2024b) | ||
+ | Powertrain Blockset Version 24.2 (R2024b) | ||
+ | Predictive Maintenance Toolbox Version 24.2 (R2024b) | ||
+ | RF Blockset Version 24.2 (R2024b) | ||
+ | RF PCB Toolbox Version 24.2 (R2024b) | ||
+ | RF Toolbox Version 24.2 (R2024b) | ||
+ | ROS Toolbox Version 24.2 (R2024b) | ||
+ | Radar Toolbox Version 24.2 (R2024b) | ||
+ | Reinforcement Learning Toolbox Version 24.2 (R2024b) | ||
+ | Requirements Toolbox Version 24.2 (R2024b) | ||
+ | Risk Management Toolbox Version 24.2 (R2024b) | ||
+ | Robotics System Toolbox Version 24.2 (R2024b) | ||
+ | Robust Control Toolbox Version 24.2 (R2024b) | ||
+ | Satellite Communications Toolbox Version 24.2 (R2024b) | ||
+ | Sensor Fusion and Tracking Toolbox Version 24.2 (R2024b) | ||
+ | SerDes Toolbox Version 24.2 (R2024b) | ||
+ | Signal Integrity Toolbox Version 24.2 (R2024b) | ||
+ | Signal Processing Toolbox Version 24.2 (R2024b) | ||
+ | SimBiology Version 24.2 (R2024b) | ||
+ | SimEvents Version 24.2 (R2024b) | ||
+ | Simscape Version 24.2 (R2024b) | ||
+ | Simscape Battery Version 24.2 (R2024b) | ||
+ | Simscape Driveline Version 24.2 (R2024b) | ||
+ | Simscape Electrical Version 24.2 (R2024b) | ||
+ | Simscape Fluids Version 24.2 (R2024b) | ||
+ | Simscape Multibody Version 24.2 (R2024b) | ||
+ | Simulink 3D Animation Version 24.2 (R2024b) | ||
+ | Simulink Check Version 24.2 (R2024b) | ||
+ | Simulink Code Inspector Version 24.2 (R2024b) | ||
+ | Simulink Coder Version 24.2 (R2024b) | ||
+ | Simulink Compiler Version 24.2 (R2024b) | ||
+ | Simulink Control Design Version 24.2 (R2024b) | ||
+ | Simulink Coverage Version 24.2 (R2024b) | ||
+ | Simulink Design Optimization Version 24.2 (R2024b) | ||
+ | Simulink Design Verifier Version 24.2 (R2024b) | ||
+ | Simulink Desktop Real-Time Version 24.2 (R2024b) | ||
+ | Simulink Fault Analyzer Version 24.2 (R2024b) | ||
+ | Simulink PLC Coder Version 24.2 (R2024b) | ||
+ | Simulink Real-Time Version 24.2 (R2024b) | ||
+ | Simulink Report Generator Version 24.2 (R2024b) | ||
+ | Simulink Test Version 24.2 (R2024b) | ||
+ | SoC Blockset Version 24.2 (R2024b) | ||
+ | Stateflow Version 24.2 (R2024b) | ||
+ | Statistics and Machine Learning Toolbox Version 24.2 (R2024b) | ||
+ | Symbolic Math Toolbox Version 24.2 (R2024b) | ||
+ | System Composer Version 24.2 (R2024b) | ||
+ | System Identification Toolbox Version 24.2 (R2024b) | ||
+ | Text Analytics Toolbox Version 24.2 (R2024b) | ||
+ | UAV Toolbox Version 24.2 (R2024b) | ||
+ | Vehicle Dynamics Blockset Version 24.2 (R2024b) | ||
+ | Vehicle Network Toolbox Version 24.2 (R2024b) | ||
+ | Vision HDL Toolbox Version 24.2 (R2024b) | ||
+ | WLAN Toolbox Version 24.2 (R2024b) | ||
+ | Wavelet Toolbox Version 24.2 (R2024b) | ||
+ | Wireless HDL Toolbox Version 24.2 (R2024b) | ||
+ | Wireless Testbench Version 24.2 (R2024b) | ||
</pre> | </pre> |
Latest revision as of 14:19, 7 January 2025
MATLAB is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis, and numeric computation. You can use MATLAB in a wide range of applications, including signal and image processing, communications, control design, test and measurement, financial modeling and analysis, and computational biology.
Previously, using MATLAB required a user-supplied license (and a lot of effort) to run on our systems. CAC now has an academic license for MATLAB provided by Queen's University. For a personal MATLAB license through Queen's University, see the ITS software page.
- Versions: R2017a, R2018b, R2021a, R2023a, R2024b
- List of installed toolboxes and products: [1]
- Statement: Necessary for accessing the software
You can check for other installed versions of matlab by module spider matlab
Getting access
Send a signed MATLAB usage statement form to cac.admin@queensu.ca. This will add you to the matlab
group that allows access to the software. To check if you have been authorized access, type groups
while logged on to the system. If matlab
appears in the output, you are ready to go!
Running MATLAB
Note, Matlab is part of the Queen's University site license. User's must [a matlab account]. When you first start Matlab, you'll be prompted to log into your matlab account, if this fails (times out e.g.), you can generate a one-time pass (OTP) code and use that. This should only happen the first time you start matlab.
To load MATLAB (e.g. version R2024b), use the command module load matlab</R2024b>. If your SSH client supports X-forwarding (and you have logged in using X-forwarding using <code>ssh -X
), you can bring up the MATLAB user interface with the command matlab
. Note that this may be very slow because our nodes don't have hardware support for the graphics, so that it has to be rendered by the CPU.
To run MATLAB without the GUI use the command matlab -nodisplay
Although MATLAB often used interactively, if you are running a production job, you need to submit it through the SLURM scheduler.
An example of a MATLAB job script is shown below:
#!/bin/bash #SBATCH --job-name=MATLAB_test #SBATCH --mail-type=ALL #SBATCH --mail-user=myEmail@whatever.com #SBATCH --output=STD.out #SBATCH --error=STD.err #SBATCH --time=30:00 #SBATCH --mem=1000 module load matlab matlab -nodesktop < testsys.m
Note that a time limit and a memory limit have to be supplied (in the example above 30 minutes and 1000 MByte, respectively). If either is exceeded the job will stop. Standard output and standard error are re-directed to files (STD.out and STD.err, repsectively). Email notification when the job is scheduled and ends are sent to a specified email address. This script (let's call it matlab.sh) would thhen be submitted via
sbatch matlab.sh
Toolboxes
The following toolboxes are installed / available for MATLAB version R2024b. This may vary older versions.
MATLAB Version 24.2 (R2024b) Simulink Version 24.2 (R2024b) 5G Toolbox Version 24.2 (R2024b) AUTOSAR Blockset Version 24.2 (R2024b) Aerospace Blockset Version 24.2 (R2024b) Aerospace Toolbox Version 24.2 (R2024b) Antenna Toolbox Version 24.2 (R2024b) Audio Toolbox Version 24.2 (R2024b) Automated Driving Toolbox Version 24.2 (R2024b) Bioinformatics Toolbox Version 24.2 (R2024b) Bluetooth Toolbox Version 24.2 (R2024b) C2000 Microcontroller Blockset Version 24.2 (R2024b) Communications Toolbox Version 24.2 (R2024b) Computer Vision Toolbox Version 24.2 (R2024b) Control System Toolbox Version 24.2 (R2024b) Curve Fitting Toolbox Version 24.2 (R2024b) DDS Blockset Version 24.2 (R2024b) DSP HDL Toolbox Version 24.2 (R2024b) DSP System Toolbox Version 24.2 (R2024b) Database Toolbox Version 24.2 (R2024b) Datafeed Toolbox Version 24.2 (R2024b) Deep Learning HDL Toolbox Version 24.2 (R2024b) Deep Learning Toolbox Version 24.2 (R2024b) Econometrics Toolbox Version 24.2 (R2024b) Embedded Coder Version 24.2 (R2024b) Filter Design HDL Coder Version 24.2 (R2024b) Financial Instruments Toolbox Version 24.2 (R2024b) Financial Toolbox Version 24.2 (R2024b) Fixed-Point Designer Version 24.2 (R2024b) Fuzzy Logic Toolbox Version 24.2 (R2024b) GPU Coder Version 24.2 (R2024b) Global Optimization Toolbox Version 24.2 (R2024b) HDL Coder Version 24.2 (R2024b) HDL Verifier Version 24.2 (R2024b) Image Acquisition Toolbox Version 24.2 (R2024b) Image Processing Toolbox Version 24.2 (R2024b) Industrial Communication Toolbox Version 24.2 (R2024b) Instrument Control Toolbox Version 24.2 (R2024b) LTE Toolbox Version 24.2 (R2024b) Lidar Toolbox Version 24.2 (R2024b) MATLAB Coder Version 24.2 (R2024b) MATLAB Compiler Version 24.2 (R2024b) MATLAB Compiler SDK Version 24.2 (R2024b) MATLAB Report Generator Version 24.2 (R2024b) MATLAB Test Version 24.2 (R2024b) Mapping Toolbox Version 24.2 (R2024b) Medical Imaging Toolbox Version 24.2 (R2024b) Mixed-Signal Blockset Version 24.2 (R2024b) Model Predictive Control Toolbox Version 24.2 (R2024b) Model-Based Calibration Toolbox Version 24.2 (R2024b) Motor Control Blockset Version 24.2 (R2024b) Navigation Toolbox Version 24.2 (R2024b) Optimization Toolbox Version 24.2 (R2024b) Parallel Computing Toolbox Version 24.2 (R2024b) Partial Differential Equation Toolbox Version 24.2 (R2024b) Phased Array System Toolbox Version 24.2 (R2024b) Powertrain Blockset Version 24.2 (R2024b) Predictive Maintenance Toolbox Version 24.2 (R2024b) RF Blockset Version 24.2 (R2024b) RF PCB Toolbox Version 24.2 (R2024b) RF Toolbox Version 24.2 (R2024b) ROS Toolbox Version 24.2 (R2024b) Radar Toolbox Version 24.2 (R2024b) Reinforcement Learning Toolbox Version 24.2 (R2024b) Requirements Toolbox Version 24.2 (R2024b) Risk Management Toolbox Version 24.2 (R2024b) Robotics System Toolbox Version 24.2 (R2024b) Robust Control Toolbox Version 24.2 (R2024b) Satellite Communications Toolbox Version 24.2 (R2024b) Sensor Fusion and Tracking Toolbox Version 24.2 (R2024b) SerDes Toolbox Version 24.2 (R2024b) Signal Integrity Toolbox Version 24.2 (R2024b) Signal Processing Toolbox Version 24.2 (R2024b) SimBiology Version 24.2 (R2024b) SimEvents Version 24.2 (R2024b) Simscape Version 24.2 (R2024b) Simscape Battery Version 24.2 (R2024b) Simscape Driveline Version 24.2 (R2024b) Simscape Electrical Version 24.2 (R2024b) Simscape Fluids Version 24.2 (R2024b) Simscape Multibody Version 24.2 (R2024b) Simulink 3D Animation Version 24.2 (R2024b) Simulink Check Version 24.2 (R2024b) Simulink Code Inspector Version 24.2 (R2024b) Simulink Coder Version 24.2 (R2024b) Simulink Compiler Version 24.2 (R2024b) Simulink Control Design Version 24.2 (R2024b) Simulink Coverage Version 24.2 (R2024b) Simulink Design Optimization Version 24.2 (R2024b) Simulink Design Verifier Version 24.2 (R2024b) Simulink Desktop Real-Time Version 24.2 (R2024b) Simulink Fault Analyzer Version 24.2 (R2024b) Simulink PLC Coder Version 24.2 (R2024b) Simulink Real-Time Version 24.2 (R2024b) Simulink Report Generator Version 24.2 (R2024b) Simulink Test Version 24.2 (R2024b) SoC Blockset Version 24.2 (R2024b) Stateflow Version 24.2 (R2024b) Statistics and Machine Learning Toolbox Version 24.2 (R2024b) Symbolic Math Toolbox Version 24.2 (R2024b) System Composer Version 24.2 (R2024b) System Identification Toolbox Version 24.2 (R2024b) Text Analytics Toolbox Version 24.2 (R2024b) UAV Toolbox Version 24.2 (R2024b) Vehicle Dynamics Blockset Version 24.2 (R2024b) Vehicle Network Toolbox Version 24.2 (R2024b) Vision HDL Toolbox Version 24.2 (R2024b) WLAN Toolbox Version 24.2 (R2024b) Wavelet Toolbox Version 24.2 (R2024b) Wireless HDL Toolbox Version 24.2 (R2024b) Wireless Testbench Version 24.2 (R2024b)