MATLAB and Simulink Requirements

Supported and Compatible Compilers - Linux

A number of bat365 products or product features require that you have a third-party compiler installed on your system. The tables below outline the compilers that are supported by various bat365 products. These compilers are provided by a number of vendors and are available under a variety of commercial, academic, or open source terms; visit the providers' websites for further information.

Please see Polyspace documentation for the list of compilers that Polyspace supports in the current release. See Supported Interfaces to Other Languages for information about using MATLAB with other programming languages.

Other Platforms: Windows | Mac


Linux (64-bit)

Note:

  • Support for GCC 7.x has been discontinued as of R2023b.

MATLAB Product Family

Compiler MATLAB MATLAB Compiler SDK MATLAB Coder

GPU Coder

SimBiology Fixed-Point Designer HDL Coder HDL Verifier ROS Toolbox
For MEX-file compilation, loadlibrary, C++ interface, and external usage of MATLAB Engine and MAT-file APIs C/C++ For all features

For all features

For accelerated computation For accelerated computation For accelerated testbench simulation For DPI and TLM component generation For custom messages and code generation
GCC C/C++ 11.x
GCC C/C++ 10.x
GCC C/C++ 9.x
GCC C/C++ 8.x
GNU gfortran 10.x
               

Simulink Product Family

Compiler Simulink Simulink Stateflow Simulink Coder Embedded Coder SerDes Toolbox
For S-Function compilation For model referencing, Accelerator mode, Rapid Accelerator mode, and MATLAB Function blocks For all features For all features When targeting the host OS For IBIS-AMI model generation
GCC C/C++ 11.x
GCC C/C++ 10.x
GCC C/C++ 9.x
GCC C/C++ 8.x
GNU gfortran 10.x
  1          

To determine the version of your compiler, see Answer 99897.

Notes for the Linux Platform

  1. Fortran compilers are supported with Simulink only for creating Simulink S-functions using the MATLAB MEX command. The S-functions can be used with normal and accelerated simulations.