Issue with LCC/MSVC accelarator compiler

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 件のコメント

Benjamin Thompson
Benjamin Thompson 2022 年 10 月 5 日
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
Damien Lahire Gomez-Martinho 2022 年 10 月 6 日
Hi Benjamin. I'm using the LCC compiler. Version of Matlab is 2020b, the compiler version I'm not able to see it now because I'm out of my home. I have no run mex -setup. I don't know what is that file. Wich kind of files do you need for reproduce the problem?
Thanks.
Walter Roberson
Walter Roberson 2022 年 10 月 6 日
You need to install VC++ 2017 (any edition)
Damien Lahire Gomez-Martinho
Damien Lahire Gomez-Martinho 2022 年 10 月 6 日
編集済み: Damien Lahire Gomez-Martinho 2022 年 10 月 6 日
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) .

サインインしてコメントする。

回答 (1 件)

Suman
Suman 2024 年 1 月 30 日

0 投票

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!

カテゴリ

ヘルプ センター および File ExchangeSimulink Compiler についてさらに検索

製品

リリース

R2020b

回答済み:

2024 年 1 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by