I use MATLAB's examples for code generation, but it shows following error. Please help me solve this problem quickly.
Show older comments
I installed the appropriate version of the mingw-w64 compiler.

MEX configured to use 'MinGW64 Compiler (C)' for C language compilation.

It shows this error when running.

Accepted Answer
More Answers (1)
Sivsankar
on 5 Jul 2023
0 votes
Have you tried adding mingW to as an environmental variable?Or try adding path of gcc in MingW. Your path might probably be like this C:\MinGW\libexec\gcc\mingw32\MinGW-Version
I am not sure about the path but you could see that in your file explorer. Try adding that path.
Categories
Find more on MATLAB Support for MinGW-w64 C/C++ Compiler 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!

