Is it possible to compile a MATLAB script to an exe or a C-sharp or C++ code?

2 次查看(过去 30 天)
Is it possible to compile a MATLAB script to an exe or a C-sharp or C++ code?

回答(1 个)

Jan
Jan 2017-12-29
编辑:Jan 2017-12-29
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.

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by