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

28 ビュー (過去 30 日間)
Version:0.9 StartHTML:-1 EndHTML:-1 StartFragment:0000000111 EndFragment:0000000441 1. 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.
  2 件のコメント
Guillaume
Guillaume 2020 年 3 月 31 日
Luigi Avallone's comment mistakenly posted as an answer moved here:
I have the same problem, with matlab R2020a and ubuntu 19.04
julianh
julianh 2020 年 12 月 4 日
I've been trying everything i found on internet and still having this problem

サインインしてコメントする。

回答 (3 件)

julianh
julianh 2020 年 12 月 4 日
I fixed it like this:
At it is said is not a problem you just need to close and launch matlab from its location for that you make:
  1. go to the instalation folder and search the bin folder normally in the root of your terminal you enter this: cd /usr/local/MATLAB/R2020b/bin
  2. Then you wiil need to lauch activate matlab.sh in the terminal you do this: sudo ./activate_matlab.sh
  3. Better activate using a file_license the activation wizard will help you to do that you will need to create an activation file using your host ID and the user name that is your ubuntu name online, then download and then activate.
  4. launch matlab that is located in the same directory using: ./matlab
Enjoy

Steven Lord
Steven Lord 2020 年 3 月 31 日
This isn't a report of a problem. It states that if you want to take advantage of "simulation acceleration, model reference, and MATLAB Function Block capabilities" there is an additional step you will need to complete, one that the MathWorks installer cannot complete on its own because it would require installing a non-MathWorks product.
If you have no intention of taking advantage of those capabilities, you don't need to take action.
If you do intend to take advantage of those capabilities, you should install a supported C compiler to enable them.
  7 件のコメント
Lukas Schulth
Lukas Schulth 2020 年 11 月 16 日
I just installed Gnu Compiler Collection using
sudo apt-get install build-essential
and restarted the Matlab installtion. The installation finished.
When I try to start Matlab I get a licensing error.
Running activare_matlab.sh throws the error: "Failed to install file: not supported".
Im using Ubuntu 20.04.1 LTS on a dual boot besides Windows 10.
julianh
julianh 2020 年 12 月 4 日
well yes is a problem i have the compiler GCC required in my pc and still having this message. 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."

サインインしてコメントする。


guta tesema
guta tesema 2020 年 11 月 13 日
1. 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.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by