Show command prompt window for executable program created through Matlab compiler
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi all,
I have created a Matlab GUI for a simulation purpose and I want to compile the GUI to an application package. I used Matlab compiler and made an executable version. I am encountered with few problems in making this compiled version.
1. It takes atleast 15 minutes to compile the application - My main code is atleast 5000 lines long and the subfunctions will count to another 2000 lines. Is this an acceptable time for such a code ?
2. It takes around 3 minute to open the .exe application made through Matlab compiler. Any suggestions to improve the executable time ?
Thanks in advance ......
Jeena
0 Kommentare
Antworten (3)
Walter Roberson
am 26 Jan. 2014
The time to open the .exe should be pretty close to the time required to open MATLAB itself.
0 Kommentare
Image Analyst
am 26 Jan. 2014
You can run your exe through your command window. Just use a bang at the command line.
>> cd c:\whatever >> !yourapp.exe
Now to answer your questions. 1. I have apps that are 5-6000 lines long with some code in other m-files. It takes about 2.5 up to a max of about 4 minutes to compile. 2. It does take a long time. Longer the very first time because it has to unpack the CTF, and less time the second and subsequent times. It might take 45-60 seconds the first time, and about 30-45 after that. There is no know way to speed it up, short of getting a new computer or perhaps using a ramdisk. You can use imdisk ( http://www.downloadcrew.com/article/27718-imdisk) to set one up. http://www.pcworld.com/article/260918/how_to_supercharge_your_pc_with_a_ram_disk.html Or you can install on a solid state drive.
2 Kommentare
vijay sai
am 26 Jan. 2014
sorry for a comment not related to the question, I had build .exe application from simulink to find the edges of an image from the file...when I start the .exe appliction.. it says starting the application...and it stays there itself..?? Am working on my academic project :-(
Image Analyst
am 26 Jan. 2014
I'm not familiar with Simulink. You paid a huge amount for the compiler, so might as well get your money's worth and call them.
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!