Simulink requires a C compiler for simulation acceleration, model reference, and MATLAB Function Block capabilities. It is recommended that you install a supported compiler on your machine

17 views (last 30 days)
Simulink requires a C compiler for simulation acceleration, model reference, and MATLAB Function Block capabilities. It is recommended that you install a supported compiler on your machine. i run matlab on my ubuntu 18.04 already installed gcc and g++ compilers but again same problem faced.

Answers (1)

Abhisek Pradhan
Abhisek Pradhan on 18 Oct 2020
MATLAB supports only one compiler for each language on Linux platforms. If you have multiple compilers installed, the default compiler might not be the MATLAB-supported compiler. Here is a list of MATLAB supported compilers.
Refer the link below for changing the default compiler to one which is supported.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!