MATLAB: How to speed up developed console application (.exe) from MCR (MATLAB R2012a)

console applications (.exe)

I have compiled a console application (.exe) using MCR (MATLAB R2012a) which i want to run first on deployed system.
I am successfully getting executed result after double clicked on.exe file but getting double clicked,prompt windows is taking more than 50 sec to open and then prompting for inputs.
I am not aware of the cause of problem.i want to speed up my console applications (.exe) file so that it will take time to execute as short as possible.

Best Answer

The time to start up a MATLAB Compiler generated .exe will be fairly close to the time that would be required to start up MATLAB itself. What gets generated is akin to what you would get if you were to pcode your .m files and then hide the MATLAB command line.