How to create exe file and use with MATLAB installed?

41 views (last 30 days)
I would like to generate a .exe files starting from a .m file. Actyallt i need to run the .exe just on my pc or in pc where MATLAb is installed. Do i necesserly need MCC? Alternatively how can i use run a .m file without launching MATLAB?

Answers (1)

Arun Mathamkode
Arun Mathamkode on 12 Jun 2018
You need to launch MATLAB for running .m files. You can use MATLAB compiler for creating an exe from the .m file. All applications created with MATLAB Compiler use the MATLAB Runtime, which enables royalty-free deployment to users who do not need MATLAB. You can package the runtime with the application, or have your users download it during installation. If MATLAB is installed on your target machine, the MATLAB runtime will be already installed.

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!