Is it possible to compile a MATLAB script to an exe or a C-sharp or C++ code?
Show older comments
Is it possible to compile a MATLAB script to an exe or a C-sharp or C++ code?
Answers (1)
You can create an exe file by using the Matlab Compiler, see https://www.mathworks.com/products/compiler.html. If you want C++ code, the exact requirements matter: Of course the internally used libraries are not included as readable C++ code and you cannot include all functions. See https://www.mathworks.com/products/matlab-coder.html
By the way, you can find these tools easily, if you ask an internet search engine for "Matlab compile" or "Matlab create C++". This forum is powerful, but searching by your own is much faster than waiting for others to type an answer. You have posted 283 questions in this forum now and many of them could be solved by your own with a small effort. There is nothing wrong with searching in the forum, the internet or the documentation.
Categories
Find more on MATLAB Compiler 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!