Difference between revisions of "Software:matlab"
(→Running MATLAB) |
(→Running MATLAB) |
||
Line 21: | Line 21: | ||
<pre> | <pre> | ||
#!/bin/bash | #!/bin/bash | ||
− | |||
#$ -cwd | #$ -cwd | ||
#$ -V | #$ -V |
Revision as of 17:50, 16 May 2017
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.
- Version: R2017a
- List of installed toolboxes and products: [1]
- Statement: Necessary for accessing the software
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
To load MATLAB to your current environment on the SW cluster, use the command use matlab
(module load matlab
on the Frontenac cluster). If your SSH client supports X-forwarding (and you have logged in using X-forwarding using ssh -X
, you can bring up the MATLAB user interface with the command matlab
.
To run MATLAB non-interactively (such as when running a script or submitting a job to the cluster), use the command matlab -nodisplay < name_of_your_script.m
An example of a MATLAB job is shown below:
#!/bin/bash #$ -cwd #$ -V # replace "X" with the number of processors requested #$ -pe shm.pe X # replace "Y" with the amount of memory requested (in GB) #$ -l mf=YG use matlab matlab -nodisplay < name_of_matlab_script.m
Toolboxes
The following toolboxes are installed / available for our MATLAB version.
MATLAB Version 9.2 (R2017a) Simulink Version 8.9 (R2017a) Bioinformatics Toolbox Version 4.8 (R2017a) Communications System Toolbox Version 6.4 (R2017a) Computer Vision System Toolbox Version 7.3 (R2017a) Control System Toolbox Version 10.2 (R2017a) Curve Fitting Toolbox Version 3.5.5 (R2017a) DSP System Toolbox Version 9.4 (R2017a) Database Toolbox Version 7.1 (R2017a) Econometrics Toolbox Version 4.0 (R2017a) Embedded Coder Version 6.12 (R2017a) Filter Design HDL Coder Version 3.1.1 (R2017a) Financial Instruments Toolbox Version 2.5 (R2017a) Financial Toolbox Version 5.9 (R2017a) Fixed-Point Designer Version 5.4 (R2017a) Fuzzy Logic Toolbox Version 2.2.25 (R2017a) Global Optimization Toolbox Version 3.4.2 (R2017a) HDL Coder Version 3.10 (R2017a) HDL Verifier Version 5.2 (R2017a) Image Acquisition Toolbox Version 5.2 (R2017a) Image Processing Toolbox Version 10.0 (R2017a) Instrument Control Toolbox Version 3.11 (R2017a) MATLAB Coder Version 3.3 (R2017a) MATLAB Compiler Version 6.4 (R2017a) MATLAB Compiler SDK Version 6.3.1 (R2017a) Mapping Toolbox Version 4.5 (R2017a) Neural Network Toolbox Version 10.0 (R2017a) Optimization Toolbox Version 7.6 (R2017a) Parallel Computing Toolbox Version 6.10 (R2017a) Partial Differential Equation Toolbox Version 2.4 (R2017a) RF Toolbox Version 3.2 (R2017a) Robust Control Toolbox Version 6.3 (R2017a) Signal Processing Toolbox Version 7.4 (R2017a) SimEvents Version 5.2 (R2017a) Simscape Version 4.2 (R2017a) Simscape Multibody Version 5.0 (R2017a) Simulink 3D Animation Version 7.7 (R2017a) Simulink Coder Version 8.12 (R2017a) Simulink Control Design Version 4.5 (R2017a) Simulink Design Verifier Version 3.3 (R2017a) Simulink Verification and Validation Version 3.13 (R2017a) Stateflow Version 8.9 (R2017a) Statistics and Machine Learning Toolbox Version 11.1 (R2017a) Symbolic Math Toolbox Version 7.2 (R2017a) System Identification Toolbox Version 9.6 (R2017a) Wavelet Toolbox Version 4.18 (R2017a)