Matlab 2017b compiling error though Mex has configured to use 'Microsoft Visual C++ 2022 (C)' for C language compilation.

2 次查看(过去 30 天)
  1. Matlab 2017b MEX has configured to use 'Microsoft Visual C++ 2022 (C)' for C language compilation
  2. simulink code setting chose corresponding make template
  3. during compiling, we still got the response as below:
### Processing Template Makefile: C:\DMFD\MATLAB\RTW\AMERTX_2022_x64.tmf
### Build procedure for model: 'demo_2016B' aborted due to an error.
An installed compiler was not detected. Certain simulation modes, as well as host-based coder builds require that a compiler be installed.

回答(1 个)

Andreas Goser
Andreas Goser 2023-9-27
Please look-up this resource for a list of supported compilers for R2017b and work with your IT towards matching products.
I suggest trying a simple shipping demo first before trying your real project.
I also noticed the name of your model may point to a model created in an even older release. Also here it might be needed first to bring the model to R2017b successfully

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by