MATLAB

Version System A System B System C
2021a KU KU
2020b (default) KU KU
2020a KU KU
2019b KU KU
2018b KU KU
2018a KU KU
2017b KU KU
2017a KU KU
2016b KU KU

Key: KU = Available for Kyoto University members only, ― = Not available for use.

Modules software package dynamically adjusts the environment settings for using applications, by using the module command. It also makes changing the environment settings easy when switching between different versions of applications.
For details, see Modules.

Version Module File
2021a matlab/R2021a
2020b matlab/R2020b
2020a matlab/R2020a
2019b matlab/R2019b
2018a matlab/R2018a
2017b matlab/R2017b
2017a matlab/R2017a
2016b matlab/R2016b

You can see the list of module files available by using the module avail command.

MATLAB is a high-performance language for technical computation that integrates computation, visualization, and programming capability. It supports various types of vector and matrix calculation, which are fundamental for solving engineering and science technology problems. MATLAB allows you to use various mathematical functions of linear algebra, partial differential equation, and others for data analysis. It is equipped with 2D and 3D graphics functions that visualize data. It allows subroutines of other languages such as C, C++, and Fortran to be called as if they are built-in functions.

MATLAB widens its application area by Toolbox, which is an assortment of non-basic MATLAB functions for special class problems.

  • Simulink

    Simulink is a platform for multi-domain simulation, dynamic system, and model base design of embedded systems. Its interactive graphical environment and block libraries allow you to design, simulate, implement, and test time-dependent systems in fields such as communication, control, motion picture processing, and still image processing.

  • Signal/image processing
  • Communication system design
  • Control system design
  • Experimental measurement
  • Modeling and analysis in computational finance
  • Biotechnology computing, etc.

Matlab which is offered by our supercomputer system is shared its license with the MATLAB users group of Kyoto university. For information on available toolboxes, please visit the website of the MATLAB users group of Kyoto university (Japanese version only).

Set up the environment by using the module command. (The module file you want is loaded.)

$ module load matlab

To start MATLAB, enter the following command in the Exceed onDemand. For details of xrun , see Interactive Processing.

$ xrun matlab

Select File in the menu bar, then click Exit MATLAB to exit MATLAB.

To start MATLAB, enter the following command with the option. For details of tssrun , see Interactive Processing .

$ tssrun matlab -nodesktop -nosplash

To exit MATLAB, enter the following command.

>> quit

Simulink is integrated with MATLAB and can be activated by entering the following command in the Command Window of MATLAB.

>> simulink

Use the following command to exit Simulink.

Select File in the menu bar, then click Close to exit Simulink.

You can create a stand-alone executable file by converting a MATLAB m file into a C or C++ source file and then compiling it.

To compile a source file, run MATLAB and enter the following command in the Command Window.

>> mcc -m input_filename

Input filename has extension m as xxxxxxxx.m.
The following output files are created:

[xxxxxxxx] ... Executable file
[run_xxxxxxxx.sh] ... Script for running an executable file
[xxxxxxxx_mcc_component_data.c]
[xxxxxxxx.prj]
[xxxxxxxx_main.c]
[mccExcludedFiles.log]
[readme.txt]

C or Fortran subroutines can be called from MATLAB like built-in functions by creating a MEX file..

To compile a source file, run MATLAB and enter the following command in the Command Window.

>> mex file_name


Copyright © Academic Center for Computing and Media Studies, Kyoto University, All Rights Reserved.