Issue with LCC/MSVC accelerator compiler
81 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I'm having issues with using the Accelerator and Rapid Accelerator modes in Simulink 8.5. When I run in normal mode everything is fine, but once I attempt to run the Accelerator I get the message "Failed to build model 'Model' using LCC in rapid accelerator mode, please consider using MSVC instead."
As I understood it, LCC is the default compiler. I therefore attempted to install the MSVC compiler, which (on this new Windows 10 machine) required installing all of Visual Studio. However, I still get the same message. I therefore assume it has continued to use the LCC compiler. Is it possible to manually change compiler? Or was the MSVC compiler simply installed incorrectly?
3 comentarios
Jan
el 22 de Abr. de 2018
Which MSVC compiler did you install? There are version for different years, SDKs, free and Professional versions.
Walter Roberson
el 22 de Abr. de 2018
Also, lcc itself was only for 32 bit MATLAB, which was only available up to R2015b. However, lccw64 has been included with the products that support it, from at least R2015a onwards (I did not check earlier versions.) lccw64 supports Rapid Accelerator
Respuestas (2)
Manuel Scholl
el 28 de Abr. de 2018
Which MSVC compiler did you install? There are version for different years, SDKs, free and Professional versions.
--> I think I haven´t installed one yet. By "mex --Setup" I only get the following mex -setup C++ mex -setup FORTRAN
Where can I downlowd the MSVC Compilers?
5 comentarios
Damien Lahire Gomez-Martinho
el 6 de Oct. de 2022
Editada: Damien Lahire Gomez-Martinho
el 6 de Oct. de 2022
As I look, yes, I need to use the VC++ 2019 for my Matlab version (2020b) and use the compiler MSVC no? Could be the problem and solve the issue maybe. This afternoon I'm going to do it. Now I'm in the office and I'm not able to perform this changes.
Other strange thing that I see is this one:
This file must be self-created, because I did not create it. Or is the file created when a rapid accelerator method is selected?
Thank you!
Walter Roberson
el 7 de Oct. de 2022
That file is created automatically -- but the ( in the directory name is potentially a problem.
MSVC is an appreviation for Microsoft Visual C, another name for the Visual Studio compiler (especially the C compiler.) When you install Visual Studios you will probably need to explicitly ask to install C as well as C++, if I recall correctly.
Ver también
Categorías
Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!