Stand-alone app takes forever to execute

I have an matlab app that executes in a few seconds (5+-) on matlab
but when i convert it to a stand-alone app using mcc
it take about 6 minutes to execute ...
any ideas why this is happening ?

답변 (1개)

Image Analyst
Image Analyst 2015년 5월 8일

0 개 추천

Is that just the first time, or every time? I think it does take a long time the very first time. Are you using GUIDE? You might put tic and toc in your OpeningFcn callback to see where it's taking a long time. But chances are that all the time is being taken up before it ever even gets to your opening function. Do you have fast solid state drives or slow hard drives?

댓글 수: 4

yuri tupizin
yuri tupizin 2015년 5월 8일
It take about 6 minutes every time I execute it , notice that other projects
works just fine.
the project I'm talking about was downloaded from :
my pc is fine :)
Note that the time to start a stand-alone executable is pretty much the same as the time to start up MATLAB. But that still should not take 6 minutes on a modern system.
yuri tupizin
yuri tupizin 2015년 5월 8일
Thanks I know that ... the overhead time on my system is 5 seconds.
Any ideas?
Image Analyst
Image Analyst 2015년 5월 8일
What's 5 seconds?

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

카테고리

도움말 센터File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

질문:

2015년 5월 8일

댓글:

2015년 5월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by