Issue with LCC/MSVC accelarator compiler
Show older comments
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 Comments
Benjamin Thompson
on 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
on 6 Oct 2022
Walter Roberson
on 6 Oct 2022
You need to install VC++ 2017 (any edition)
Damien Lahire Gomez-Martinho
on 6 Oct 2022
Edited: Damien Lahire Gomez-Martinho
on 6 Oct 2022
Answers (1)
Suman
on 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!
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!