Matlab to C code generation with "Coder" command
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Itai Kadosh
am 3 Nov. 2016
Kommentiert: Itai Kadosh
am 8 Nov. 2016
Hi, I tried to convert Matlab code to C code via the "Coder" command but i got the following error message: "The current MEX compiler 'Microsoft Visual C++ 2015 (C)' is not supported. Use mex -setup to select a supported compiler. Use help codegen for more information on using this command.
The current MEX compiler 'Microsoft Visual C++ 2015 (C)' is not supported. Use mex -setup to select a supported compiler."
What's wrong? i installed "Microsoft Visual studio 2015 professional" and i still received this message... Thanks, Itai
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 3 Nov. 2016
Check that Microsoft Visual C++ 2015 is a supported compiler for the release of MATLAB and MATLAB Coder that you're using. If you're using the current release (right now that is R2016b) see the Supported Compilers link at the top of that page. If you're using an older release select "Previous Releases" in the Other Resources link and review the information for the release you're using.
According to the information in the system requirements, that compiler started to be supported for use by MATLAB as of release R2015b but it was not supported for use by MATLAB Coder until release R2016a.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu MATLAB Code Analysis finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!