المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : How to convert Matlab .m files to .exe files



A7med Baraka
11-14-2009, 05:25 PM
How to convert Matlab .m files to .exe files
This done by the following command

>>mccalso used to convert Matlab .m to C/C++ files.
The advantages of this command is to exploit the extraordinary capabilities of the Matlab in programming to deal with many applications outside the program.
Also used to generate these files
Visual Basic
Microsoft Excel
Generate a Function Library
Generate C Code
Generate C Code
Create Singleton MCR
License File
building .NET components
The general form of this command is

>>mcc [-options] mfile1 [mfile2 ... mfileN]The option is now in our case is -m which used to generate .exe files
for example try to execute this for sinx.m

>>mcc -m sinx.mwe will find the file sinx.exe in the current directory


-----------------------------