필터 지우기
필터 지우기

how to change .m file into .exe?

조회 수: 1 (최근 30일)
Yvonne ting
Yvonne ting 2012년 3월 31일
Hi everyone. i would like to ask how am i going to covert .m file into .exe file in matlab? i saw this method : mcc -m folder name however, it can work at my own pc but when i copy that .exe file to another pc without matlab, the .exe cannot be opened. Can anyone pls help me? tq

채택된 답변

Titus Edelhofer
Titus Edelhofer 2012년 3월 31일
Hi,
you will need to install the MATLAB Compiler Runtime on that "pc without MATLAB". The MCRInstaller is located in matlab\toolbox\compiler\deploy\<arch>, where arch is e.g. win32 or win64, see <http://www.mathworks.de/support/solutions/en/data/1-1U18PL/index.html?product=CO&solution=1-1U18PL/>
In the doc this is described in the chapter "deployment of standalone applications".
Titus
  댓글 수: 1
Ken Atwell
Ken Atwell 2012년 3월 31일
If you are running the newest version of MATLAB (R2012a), you can get the runtime off the web from http://www.mathworks.com/products/compiler/mcr/

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Image Analyst
Image Analyst 2012년 3월 31일
And if by chance you had already installed the MCR on the target computer and it still doesn't run, check out the FAQ: http://matlab.wikia.com/wiki/FAQ#My_standalone_executable_won.27t_run_on_the_target_computer._What_can_I_try.3F

카테고리

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