Exe running delay problem, creation problem
Ältere Kommentare anzeigen
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 ?
Antworten (1)
Image Analyst
am 16 Mai 2014
0 Stimmen
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 Kommentare
Khalid
am 17 Mai 2014
Image Analyst
am 17 Mai 2014
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
am 20 Mai 2014
Image Analyst
am 20 Mai 2014
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.
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!