Stand-alone app takes forever to execute

3 ビュー (過去 30 日間)
yuri tupizin
yuri tupizin 2015 年 5 月 8 日
コメント済み: Image Analyst 2015 年 5 月 8 日
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 日
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 日
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?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by