MATLAB and Simulink Requirements

Product Requirements for Simulink R2019a

  • Requires MATLAB
  • Requires Fixed-Point Designer for simulating fixed-point data types
  • Some features require the use of a C Compiler.

View requirements for another product:

Supported Third-Party Compilers

System and Product Requirements for Previous Releases

Supported Windows Compilers for Simulink

Note:

  • Intel Parallel Studio XE 2019 for C/C++ and Fortran are supported as of R2019a.
  • Support for Intel Parallel Studio XE 2015 for C/C++ and Fortran will be discontinued in an upcoming release.

For S-Function compilation

  • Microsoft Visual C++ 2017 Family1
  • Microsoft Visual C++ 2015 Professional2
  • Intel Parallel Studio XE 2019 for C/C++3 4
  • Intel Parallel Studio XE 2018 for C/C++3 4
  • Intel Parallel Studio XE 2017 for C/C++3 4
  • Intel Parallel Studio XE 2016 for C/C++3 4
  • Intel Parallel Studio XE 2015 for C/C++3 4
  • Intel Parallel Studio XE 2019 for Fortran3
  • Intel Parallel Studio XE 2018 for Fortran3
  • Intel Parallel Studio XE 2017 for Fortran3
  • Intel Parallel Studio XE 2016 for Fortran3
  • Intel Parallel Studio XE 2015 for Fortran3
  • lcc-win64 (Included with products that support it)

For Model Referencing, Accelerator mode, Rapid Accelerator mode, and MATLAB Function blocks

  • Microsoft Visual C++ 2017 Family1
  • Microsoft Visual C++ 2015 Professional2
  • lcc-win64 (Included with products that support it)

Notes for the Windows Platform

  1. Community, Professional, and Enterprise editions are supported. The Visual Studio installer groups functionality into workloads; Simulink requires the “Desktop development with C++" workload.

  2. A compiler is not installed by default with this version of Visual Studio and must be specified while performing a custom installation. See Answer 328432 for more details.

  3. Intel compilers require that Microsoft Visual Studio 2015 or 2017 also be installed on your system.

  4. 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.

Supported macOS Compilers for Simulink

On the Mac, no C compiler is supplied with MATLAB. If you use products that require one, Apple's development environment for macOS (Xcode) is available in the Mac App Store.

Note:

  • Xcode 8.x is not supported as of R2019a.

For S-Function compilation

  • Xcode 10.x
  • Xcode 9.x
  • Intel Parallel Studio XE 2019 for Fortran
  • Intel Parallel Studio XE 2018 for Fortran
  • Intel Parallel Studio XE 2017 for Fortran
  • Intel Parallel Studio XE 2016 for Fortran

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.

For model referencing, Accelerator mode, Rapid Accelerator mode, and MATLAB Function blocks

  • Xcode 10.x
  • Xcode 9.x

To determine the version of Xcode installed, start Xcode and then select Xcode->About Xcode.

Supported Linux (64-bit) Compilers for Simulink

On Linux, no C compiler is supplied with MATLAB. The GNU compiler (GCC) is included with many Linux distributions.

For S-Function compilation

  • GCC C/C++ 6.3.x
  • GNU gfortran 6.3.x

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.

For model referencing, Accelerator mode, Rapid Accelerator mode, and MATLAB Function blocks

  • GCC C/C++ 6.3.x

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