how to convert matlab code to .exe file?
Ältere Kommentare anzeigen
hi...i have a matlab code(.m) which i want to convert to .exe.. i used deploytool to make a package which conatins .exe and MCR installer. but the .exe file created is a matlab application. It is "Application(.exe)"!!!
and it does not work with only MCR but it needs malab installed in the system.
somebody please help me with this.. i want to make a .exe file from matlab code!
1 Kommentar
Azzi Abdelmalek
am 16 Feb. 2013
Bearbeitet: Azzi Abdelmalek
am 16 Feb. 2013
Have you checked if your .exe file works in your first computer?
Akzeptierte Antwort
Weitere Antworten (3)
Azzi Abdelmalek
am 16 Feb. 2013
1 Stimme
No, your .exe application, needs only MCR.
2 Kommentare
Jeena
am 16 Feb. 2013
Image Analyst
am 16 Feb. 2013
Try renaming the file so that there are no parentheses in the name.
Youssef Khmou
am 16 Feb. 2013
hi,
did you try mcc
doc mcc
4 Kommentare
Youssef Khmou
am 16 Feb. 2013
well, i just tried the same command with random Mfile and it generated 2 C files and one .exe, is your M-file in the dir : \R2012a\bin? if yes then change its location to somewere else like Desktop
Image Analyst
am 16 Feb. 2013
Bearbeitet: Image Analyst
am 16 Feb. 2013
You can do that in the mcc command line with the -d option:
mcc -m myapp.m -d 'D:\MATLAB\myAppFolder'
The above command will put myapp.exe in the folder called "D:\MATLAB\myAppFolder".
Sukshith Shetty
am 21 Jun. 2021
How do I convert .m (matlab file) to .exe file without the help of Application/MATLAB Compiler Toolbox. Is there any other method. I currently don't have the resource to purchase MATLAB Compiler Toolbox. Can you please suggest me an alternate way.
Thank you
Walter Roberson
am 25 Jun. 2021
For some subsets of MATLAB, you might be able to use https://github.com/ebranlard/matlab2fortran and then compile the resulting fortran.
It probably does not handle any of the toolboxes.
mohsen
am 16 Jul. 2024
0 Stimmen
I want to mathworks for show the tiutorials video for conver mathlab codes to the .exe filse.
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!