Issue with LCC/MSVC accelarator compiler
Mostrar comentarios más antiguos
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 comentarios
Benjamin Thompson
el 5 de Oct. de 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
el 6 de Oct. de 2022
Walter Roberson
el 6 de Oct. de 2022
You need to install VC++ 2017 (any edition)
Damien Lahire Gomez-Martinho
el 6 de Oct. de 2022
Editada: Damien Lahire Gomez-Martinho
el 6 de Oct. de 2022
Respuestas (1)
Suman
el 30 de En. de 2024
0 votos
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!
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!