How can i create .exe file from .m file?

61 views (last 30 days)
I have an .m file having a set of functions and classes. I want to create an executable software from this script. How can I create an user interface and a standalone installation package of this software is the problem.

Accepted Answer

Preethi on 3 Jan 2017
mcc -m mfilename
helps in creating .exe file. you will need Matlab coder, check using 'ver' command if it is installed or not.
For user interface, I think you can use Matlab GUIDE/uicontrol.
  1 Comment
swati khatkar
swati khatkar on 23 Apr 2019
I have created the application using mcc -m filename
But i am using multiple functions in the file, I do not want to provide those function files to the end user. Is there any way i can skip giving extra code files

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!