MATLAB Answers

How do I convert my .m file into a .exe file?

조회 수: 995(최근 30일)
Cordelle
Cordelle 6 Aug 2013
I do NOT have license compiler.
I have some .m file i need some one to test on there computer and i am not sure if they have matlab so i would like to make the .m file into a .exe file.

  댓글 수: 0

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

답변(2개)

Shashank Prasanna
Shashank Prasanna 6 Aug 2013
Your options are limited to the following and each have their own limitations:
1) MATLAB Compiler which will let you deploy your program as a stand alone executable that can be shared with anyone.
2) MATLAB Code which supports a subset of function for C code generation that can then be complied into an Exe
3) The Engine API which will let you call MATLAB function from within a C program executable.

  댓글 수: 0

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


per isakson
per isakson 6 Aug 2013

  댓글 수: 3

Kaustubha Govind
Kaustubha Govind 6 Aug 2013
You may also want to consider MATLAB Coder. For more information, see my answer to a similar question here.
Cordelle
Cordelle 6 Aug 2013
I dont have a license compiler, is there away to make the file into a .exe file another way
per isakson
per isakson 6 Aug 2013
AFAIK: There is no free way to make a stand-alone, which runs without Matlab.
Your m-file might run on Octave, which is free.

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

Community Treasure Hunt

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

Start Hunting!

Translated by