how to create .exe file from .m file .

I have tried using mcc command but still its plotting graph in Matlab only.

Answers (1)

Assumin you successfully have created an EXE file myprog.exe, you can try to run it through the shell / DOS promt or within MATLAB as a system command.
!myprog

3 Comments

mcc -m moving_sinter
Unable to determine function name or input/output argument count for function
i have used "mcc-m myfilename" but getting the below given error
in M-file "moving_sinter". Please use MLINT to determine if this file contains errors. ??? Error using ==> mcc Error executing mcc, return status = 1.
Did you do what it said and check your file with MLINT for errors?
i am able to create the .exe file but still it is using matlab for platting graphs

Sign in to comment.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Asked:

on 16 Feb 2015

Commented:

on 4 May 2015

Community Treasure Hunt

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

Start Hunting!