MATLAB Answers

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

31 views (last 30 days)
rishab nigam
rishab nigam on 2 Oct 2020
Answered: Abhisek Pradhan on 18 Oct 2020
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.

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!