Create an exe file

조회 수: 1 (최근 30일)
Sudipta Basu
Sudipta Basu 2013년 2월 28일
Hi, I want to create an exe file for my .m programs. without using MCRInstaller (just like in C++). The .exe file should be able to run in a computer not having MATLAB or any related components. Is there a way to do this?

답변 (1개)

Walter Roberson
Walter Roberson 2013년 2월 28일
You would need MATLAB Coder, which generates C or C++ code. MATLAB Coder is fairly restricted in what it can transcribe. It is best at pure mathematical operations; it cannot, for example, generate any graphics.
If you used MATLAB Coder, you would need to compile the code to create an executable. It is likely that you would need the user to install the run-time libraries of which-ever compiler you use.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by