Issue with LCC/MSVC accelarator compiler
Afficher commentaires plus anciens
Hello everyone, i have this issue (Matlab R2020b) and I don't know how I can fix it. All help is good for me, I will have to present my Msc final project in two weeks.

Please, anyone can help me with this issue please?
Thanks in advance.
4 commentaires
Benjamin Thompson
le 5 Oct 2022
LCC and MSVC are two different products. Which one are you using, and which version? Have you run mex -setup? Can you attach any sample files to let another user reproduce the problem?
Damien Lahire Gomez-Martinho
le 6 Oct 2022
Walter Roberson
le 6 Oct 2022
You need to install VC++ 2017 (any edition)
Damien Lahire Gomez-Martinho
le 6 Oct 2022
Modifié(e) : Damien Lahire Gomez-Martinho
le 6 Oct 2022
Réponses (1)
Suman
le 30 Jan 2024
0 votes
Hi Damien,
I see that you have installed the VC++ 2017 and you want to know how you can further change the compiler used by Simulink for the build process.
You can do that by running the "mex -setup C++" command at MATLAB command line. Once you run the command, you will see a list of all the available compilers that you can use along with the command needed to set them as default. I have added a screenshot below for your reference.

I hope that helps!
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!