Is the LCC compiler that is shipped with the MATLAB Compiler, capable of compiling C++ files?

9 views (last 30 days)
Is the LCC compiler that is shipped with the MATLAB Compiler, capable of compiling C++
I would like to use the LCC compiler to compile a C++ application I have written, is this possible?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 18 Apr 2023
Edited: MathWorks Support Team on 30 Apr 2023
The LCC utility, included with the MATLAB Compiler for Windows, is an ANSI compliant C compiler.
It does not contain functionality to compile code written in the C++ syntax.
For a full list of supported compilers, please see the following link:
The workaround would be to install Windows SDK 7.1 from the following link:

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!