End of LCC Compiler support in MATLAB/Simulink
Show older comments
I have recently upgraded to MATLAB/Simulink R2023a or later. I encounter the following errors when I try to run or update my Simulink model, or use features such as fixed-point conversion:
Unable to determine MEX compiler or selected MEX compiler is not supported. Use 'mex -setup' to configure one.
Unable to determine MEX compiler: use 'mex -setup' to configure your system. Note that the LCC compiler is deprecated and no longer available.
When I try to run my model with model references in Accelerator or Rapid Accelerator mode or build my model using Simulink Coder or Embedded Coder, I get the following yellow alert in my model:
Model uses LCC compiler for code compilation. LCC compiler will be removed in a future release. Consider using a different compiler.
For information about supported compilers, see https://www.mathworks.com/support/requirements/supported-compilers.html.
Using this page or the Add-On Explorer at MATLAB Support for MinGW-w64 C/C++ Compiler, you can download the MinGW compiler.
Before R2023a, I could do the same MATLAB/Simulink workflows without installing an additional compiler.
Accepted Answer
More Answers (0)
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!