Unable to determine MEX compiler: use mex -setup to configure your system.

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.

6 Comments

What happened when you used
mex -setup
Which MATLAB release are you using (including update number)? What compiler do you have installed at the moment?
Hi,
I'm using R2019b currently.
How can I know which compiler am I using?
Hi,
When I try to generate the code, the error shown as below.
However, when I try to click on the "mex-setup" wording in blue, it doesn't allow me to do so.
Go to the MATLAB command line and give the command
mex -setup -v
Hi,
It is working now, thank you very much!

Sign in to comment.

Answers (2)

I have similar issue, ran the command still not working. Below is a snapshot

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Asked:

on 13 May 2020

Commented:

on 8 Aug 2024

Community Treasure Hunt

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

Start Hunting!