Stand-alone app takes forever to execute
Mostrar comentarios más antiguos
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 ?
Respuestas (1)
Image Analyst
el 8 de Mayo de 2015
0 votos
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 comentarios
yuri tupizin
el 8 de Mayo de 2015
Walter Roberson
el 8 de Mayo de 2015
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
el 8 de Mayo de 2015
Image Analyst
el 8 de Mayo de 2015
What's 5 seconds?
Categorías
Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!