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

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)

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

Products

Release

R2020b

Asked:

on 2 Oct 2020

Answered:

on 18 Oct 2020

Community Treasure Hunt

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

Start Hunting!