Show command prompt window for executable program created through Matlab compiler
조회 수: 6 (최근 30일)
이전 댓글 표시
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
답변 (3개)
Walter Roberson
2014년 1월 26일
The time to open the .exe should be pretty close to the time required to open MATLAB itself.
댓글 수: 0
Image Analyst
2014년 1월 26일
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
vijay sai
2014년 1월 26일
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
2014년 1월 26일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!