Unable to determine MEX compiler: use mex -setup to configure your system.
53 views (last 30 days)
Show older comments
Hi,
I got this error while I'm generating my code at MATLAB Coder.
Any idea on how to resolve it? I couldn't find any solution available..
Thank you.
5 Comments
Walter Roberson
on 13 May 2020
Go to the MATLAB command line and give the command
mex -setup -v
Answers (2)
David Fink
on 19 May 2020
[Copying the answer here]
At the MATLAB Command Prompt:
mex -setup -v
0 Comments
Oladipupo
on 1 Feb 2024
I have similar issue, ran the command still not working. Below is a snapshot
1 Comment
Walter Roberson
on 1 Feb 2024
At terminal,
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -license
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!