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

23 次查看(过去 30 天)
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.

回答(1 个)

Abhisek Pradhan
Abhisek Pradhan 2020-10-18
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.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by