Exe running delay problem, creation problem

I made my programmes exe but its running after installation of MCR on another PC, and on my PC its running by too late more that 15 min., and also creation of exe. is completing more than 30 min.
How can I make a exe withing few min. if possible ? How can I make exe which is supportable on both plateform 32 as well as 64 bit ? Why the exe is running by too late ?

답변 (1개)

Image Analyst
Image Analyst 2014년 5월 16일

0 개 추천

You can install both 32 and 64 bit versions of MATLAB on your computer. You can also install both 32 and 64 bit versions of MCRInstaller on your computer. You can also install different releases (e.g. R2013a and R2014a). Everything lives happily together.
Your app should not take 30 minutes to compile. None of mine take more than about 3 minutes.
Your compiled app should probably not take more than 15 minutes longer to finish executing than on some other target computer.

댓글 수: 4

Khalid
Khalid 2014년 5월 17일
I'm not talking about matlab version I'm talking about my programm's .exe file which should run independently on other PCs, So if I'm making *.exe its taking longer time to generate .exe and if running on another PC, the .exe file taking too long time to run more than 15min or not running, also If I made it on 32 bit Matlab then MCR is only required 32 bit, it does work with 64 bit MCR, or vice-versa...
Image Analyst
Image Analyst 2014년 5월 17일
When you say "taking longer time to generate .exe", it's longer than what ? What are you comparing the compilation time to ? Like I said, it rarely take more than 3 or 4 minutes on my computer.
This statement is not true "I made it on 32 bit Matlab then MCR is only required 32 bit, it does work with 64 bit MCR" If you compile with a 32 bit version of MATLAB, it will require the 32 bit version of MCR. It will not work if only the 64 bit version of MCR is installed. If you have a 64 bit system and have both the 32 bit version and 64 bit version and your executable installed, your executable will know to take the proper version, which is whatever version (64 or 32) you made the executable with. Likewise, an executable you compiled with the 64 bit version will work with only the 64 bit MCR, which must be on the target computer. If only the 32 bit MCR is there, it won't run, but if both 32 bit and 64 bit are there, it will know to take the proper (64 bit) version.
Khalid
Khalid 2014년 5월 20일
As I said talking longer time means when I'm making .exe file of my program its not taking 3-4 min. its taking 40-60 min.
And when I'm running it on another PC Its not running even though of MCR availability. Its just showing that process is running as busy cursor shows, but software not opening on any PC. Please clearify that where is what missing ?
Image Analyst
Image Analyst 2014년 5월 20일
Please contact the Mathworks. You paid enough for the compiler that you should take advantage of the tech support that comes with it. It should not take 40-60 minutes to compile. Try the "verbose" option to see what it's doing. How long does it take if you make just a very simple program with only one line "msgbox('running program')"? That should compile in about 30 seconds and take less than a minute to run.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2014년 5월 16일

댓글:

2014년 5월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by