Issue with LCC/MSVC accelarator compiler

5 views (last 30 days)
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
Walter Roberson
Walter Roberson on 6 Oct 2022
You need to install VC++ 2017 (any edition)
Damien Lahire Gomez-Martinho
Edited: Damien Lahire Gomez-Martinho on 6 Oct 2022
And after the instalation is done. Do you know how can I change the compiler used by Simulink? To use the new one (VC++ 2017) .

Sign in to comment.

Answers (1)

Suman
Suman on 30 Jan 2024
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

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!