| MATLAB Central > MATLAB Newsreader > Compiled Matlab GUI code starts up too slow... |
|
|
|
Subject: Compiled Matlab GUI code starts up too slow... From: scho Date: 14 Oct, 2010 02:36:04 Message: 1 of 25 |
|
I made a GUI program, and trying Matlab compiler to make it a standalone program. |
|
Subject: Compiled Matlab GUI code starts up too slow... From: ImageAnalyst Date: 14 Oct, 2010 02:53:55 Message: 2 of 25 |
|
How much time does it take? Mine take on the order of 30 seconds or |
|
Subject: Compiled Matlab GUI code starts up too slow... From: scho Date: 16 Oct, 2010 12:44:03 Message: 3 of 25 |
|
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <a4838119-7e1f-4864-85a3-4f1cbcfac721@n26g2000yqh.googlegroups.com>... |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Arda Date: 19 Aug, 2011 17:28:08 Message: 4 of 25 |
|
> |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Bruno Luong Date: 19 Aug, 2011 17:53:08 Message: 5 of 25 |
|
"Arda " <ardaaksu@hotmail.com> wrote in message <j2m6f8$1ig$1@newscl01ah.mathworks.com>... |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Arda Date: 19 Aug, 2011 19:01:11 Message: 6 of 25 |
|
> Beside the very first time where the program is lauched: most of my compiled applications take: |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Bruno Luong Date: 19 Aug, 2011 19:35:12 Message: 7 of 25 |
|
"Arda " <ardaaksu@hotmail.com> wrote in message <j2mbtn$jv2$1@newscl01ah.mathworks.com>... |
|
Subject: Compiled Matlab GUI code starts up too slow... From: ImageAnalyst Date: 19 Aug, 2011 20:22:06 Message: 8 of 25 |
|
I agree with Bruno. The very first time may take around 30 seconds |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Arda Date: 19 Aug, 2011 23:02:09 Message: 9 of 25 |
|
> Less than 3 seconds. |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Bruno Luong Date: 19 Aug, 2011 23:26:09 Message: 10 of 25 |
|
You might try to compile with -C option and |
|
Subject: Compiled Matlab GUI code starts up too slow... From: ImageAnalyst Date: 20 Aug, 2011 02:13:12 Message: 11 of 25 |
|
Just to clarify, I believe the MCR_CACHE_ROOT is defined on the |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Yair Altman Date: 20 Aug, 2011 18:31:08 Message: 12 of 25 |
|
"Arda " <ardaaksu@hotmail.com> wrote in message <j2mq1h$5is$1@newscl01ah.mathworks.com>... |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Arda Date: 20 Aug, 2011 19:56:08 Message: 13 of 25 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <j2mreh$9cn$1@newscl01ah.mathworks.com>... |
|
Subject: Compiled Matlab GUI code starts up too slow... From: ImageAnalyst Date: 20 Aug, 2011 20:26:03 Message: 14 of 25 |
|
On Aug 20, 3:56 pm, "Arda " <ardaa...@hotmail.com> wrote: |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Arda Date: 20 Aug, 2011 22:13:08 Message: 15 of 25 |
|
@ImageAnalyst, I believe you completely misunderstand me. My executable program does not crush, it works as it supposed to be. It creates some java objects (in which there is also a frame) and when it completes the job terminates itself. Whereas if there is a figure in the program it waits user to close the window.. The main task here is to ensure that program waits the user to terminate it when compiled without a figure! |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Bruno Luong Date: 20 Aug, 2011 23:03:08 Message: 16 of 25 |
|
"Arda " <ardaaksu@hotmail.com> wrote in message <j2pbhk$jvd$1@newscl01ah.mathworks.com>... |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Arda Date: 20 Aug, 2011 23:33:07 Message: 17 of 25 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <j2pefb$rrm$1@newscl01ah.mathworks.com>... |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Arda Date: 24 Aug, 2011 14:31:28 Message: 18 of 25 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <j2mreh$9cn$1@newscl01ah.mathworks.com>... |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Bruno Luong Date: 24 Aug, 2011 14:45:28 Message: 19 of 25 |
|
"Arda " <ardaaksu@hotmail.com> wrote in message |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Robin Jens Date: 25 Aug, 2011 11:11:10 Message: 20 of 25 |
|
"Bruno Luong" <b.luong@fogale.findmycountry> wrote in message <j332q8$9je$1@newscl01ah.mathworks.com>... |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Krishan Date: 21 Feb, 2012 23:45:12 Message: 21 of 25 |
|
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <87213120-3739-4596-8bda-a1d575e5895f@g8g2000prn.googlegroups.com>... |
|
Subject: Compiled Matlab GUI code starts up too slow... From: amit pathania Date: 22 May, 2012 15:36:06 Message: 22 of 25 |
|
"scho" wrote in message <i95qak$c1d$1@fred.mathworks.com>... |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Yair Altman Date: 22 May, 2012 17:13:06 Message: 23 of 25 |
|
"amit pathania" <sujanian.amit@gmail.com> wrote in message <jpgbp6$567$1@newscl01ah.mathworks.com>... |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Yair Altman Date: 26 Jul, 2012 19:23:13 Message: 24 of 25 |
|
For anyone interested, here is the post explaining my splash wrapper utility for compiled (deployed) Matlab applications: |
|
Subject: Compiled Matlab GUI code starts up too slow... From: Marc Date: 13 Nov, 2012 21:44:15 Message: 25 of 25 |
|
If all you want is at least a prompt with a message you can use the -R option when compiling your file at least the end user would know that something is happening. |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| compile | scho | 13 Oct, 2010 22:39:05 |
| mcr | scho | 13 Oct, 2010 22:39:05 |
| matlab compiler | scho | 13 Oct, 2010 22:39:05 |
| gui | scho | 13 Oct, 2010 22:39:04 |
