<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Speeding up compiled apps startup	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=speeding-up-compiled-apps-startup</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Thu, 14 May 2020 03:12:37 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Sam		</title>
		<link>https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-508651</link>

		<dc:creator><![CDATA[Sam]]></dc:creator>
		<pubDate>Thu, 14 May 2020 03:12:37 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3085#comment-508651</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-105282&quot;&gt;Andi&lt;/a&gt;.

Doesn&#039;t work for me! I am using Matlab 2018a, no different at all, even the exe file size is the same.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-105282">Andi</a>.</p>
<p>Doesn&#8217;t work for me! I am using Matlab 2018a, no different at all, even the exe file size is the same.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Hao Deng		</title>
		<link>https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-455677</link>

		<dc:creator><![CDATA[Hao Deng]]></dc:creator>
		<pubDate>Mon, 10 Dec 2018 09:13:57 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3085#comment-455677</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-105354&quot;&gt;Cris&lt;/a&gt;.

Hi, I found that extractCTF did work. But after extraction, what should I do? Put the extracted files into MCR cache dir? It didn&#039;t work in this way since MCR simply ignore the extracted files and did extraction again.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-105354">Cris</a>.</p>
<p>Hi, I found that extractCTF did work. But after extraction, what should I do? Put the extracted files into MCR cache dir? It didn&#8217;t work in this way since MCR simply ignore the extracted files and did extraction again.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Hao Deng		</title>
		<link>https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-455672</link>

		<dc:creator><![CDATA[Hao Deng]]></dc:creator>
		<pubDate>Mon, 10 Dec 2018 07:43:52 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3085#comment-455672</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-112697&quot;&gt;Dirk Engel&lt;/a&gt;.

In my case, things go like this: Without setting the MCR_CACHE_ROOT env variable, compiled exe will be extracted to path like this  %LocalAppData%\Temp\\mcrCache83\XXX. It will usually not be deleted after closing. However, when I open another app which call matlab compiled dll(not exe) , the previous extracted files are totally removed. This phenomenon seems remain exactly the same when I set the MCR_CACHE_ROOT. So the question should be: how to prevent MCR from cleaning extracted files when switching between extracting exe and extracting dll?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-112697">Dirk Engel</a>.</p>
<p>In my case, things go like this: Without setting the MCR_CACHE_ROOT env variable, compiled exe will be extracted to path like this  %LocalAppData%\Temp\\mcrCache83\XXX. It will usually not be deleted after closing. However, when I open another app which call matlab compiled dll(not exe) , the previous extracted files are totally removed. This phenomenon seems remain exactly the same when I set the MCR_CACHE_ROOT. So the question should be: how to prevent MCR from cleaning extracted files when switching between extracting exe and extracting dll?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-404196</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sun, 02 Apr 2017 09:25:08 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3085#comment-404196</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-403947&quot;&gt;Ofek Shilon&lt;/a&gt;.

Here are the updated links on the Mathworks website (note the minute differences between the pages):
&lt;a href=&quot;http://mathworks.com/help/compiler_sdk/ml_code/mcr-component-cache-and-ctf-archive-embedding.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mathworks.com/help/compiler_sdk/ml_code/mcr-component-cache-and-ctf-archive-embedding.html&lt;/a&gt;
&lt;a href=&quot;http://mathworks.com/help/compiler_sdk/cxx/matlab-runtime-component-cache-and-deployable-archive-embedding.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mathworks.com/help/compiler_sdk/cxx/matlab-runtime-component-cache-and-deployable-archive-embedding.html&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-403947">Ofek Shilon</a>.</p>
<p>Here are the updated links on the Mathworks website (note the minute differences between the pages):<br />
<a href="http://mathworks.com/help/compiler_sdk/ml_code/mcr-component-cache-and-ctf-archive-embedding.html" target="_blank" rel="nofollow">http://mathworks.com/help/compiler_sdk/ml_code/mcr-component-cache-and-ctf-archive-embedding.html</a><br />
<a href="http://mathworks.com/help/compiler_sdk/cxx/matlab-runtime-component-cache-and-deployable-archive-embedding.html" target="_blank" rel="nofollow">http://mathworks.com/help/compiler_sdk/cxx/matlab-runtime-component-cache-and-deployable-archive-embedding.html</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ofek Shilon		</title>
		<link>https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-403949</link>

		<dc:creator><![CDATA[Ofek Shilon]]></dc:creator>
		<pubDate>Wed, 29 Mar 2017 14:43:04 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3085#comment-403949</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-105354&quot;&gt;Cris&lt;/a&gt;.

As of matlab 2016a, the path to the utility (at least on windows 10) is &lt;code&gt;$MATLABROOT/bin/$ARCH/&lt;/code&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-105354">Cris</a>.</p>
<p>As of matlab 2016a, the path to the utility (at least on windows 10) is <code>$MATLABROOT/bin/$ARCH/</code></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ofek Shilon		</title>
		<link>https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-403947</link>

		<dc:creator><![CDATA[Ofek Shilon]]></dc:creator>
		<pubDate>Wed, 29 Mar 2017 14:35:19 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3085#comment-403947</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-120107&quot;&gt;ECS_VUW_Kevin&lt;/a&gt;.

@Yair   link is broken again]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-120107">ECS_VUW_Kevin</a>.</p>
<p>@Yair   link is broken again</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: alvaro562003		</title>
		<link>https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-396639</link>

		<dc:creator><![CDATA[alvaro562003]]></dc:creator>
		<pubDate>Sun, 18 Dec 2016 10:10:04 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3085#comment-396639</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-105282&quot;&gt;Andi&lt;/a&gt;.

As of today, December 18 2016, prefdir is: C:\Users\admin\AppData\Roaming\MathWorks\MATLAB\R2016a

The content of this directory is:
&lt;pre lang=&quot;text&quot;&gt;
18/12/2016  09:23              .
18/12/2016  09:23              ..
18/12/2016  10:51             1ÿ291 publish_configurations.m
18/12/2016  10:51               220 run_commands.m
18/12/2016  09:14         1ÿ817ÿ222 History.bak
18/12/2016  11:01         1ÿ817ÿ797 History.xml
18/12/2016  10:49             4ÿ668 matlab.prf
18/12/2016  09:23            18ÿ143 matlab.settings
18/12/2016  11:01            10ÿ081 MATLABDesktop.xml
18/12/2016  09:20             9ÿ092 MATLABDesktop.xml.prev
18/12/2016  09:20             7ÿ420 MATLAB_Editor_State.xml
14/04/2016  18:30             4ÿ130 comparisons.settings
07/04/2016  09:03                 0 creation.timestamp
10/03/2016  12:44               731 dastudio.prf
24/03/2016  20:42             2ÿ040 database.settings
07/04/2016  09:03              HtmlPanel
10/03/2016  10:14                87 javaclasspath.txt
19/10/2016  10:23               618 matlabprefs.mat
29/07/2015  09:37             8ÿ963 MBUILD_C_win64.xml
29/07/2015  09:37             8ÿ978 mex_C++_win64.xml
03/09/2015  19:50             8ÿ521 mex_C_win64.xml
22/02/2016  10:44                40 MLintDefaultSettings.txt
07/04/2016  09:13             1ÿ298 mwKeyStore
07/04/2016  09:13             6ÿ144 parallel.settings
27/01/2016  22:38               201 shortcuts_2.xml
10/03/2016  12:29               138 systemtest.cfg
07/04/2016  09:13               772 thisMatlab.pem
&lt;/pre&gt;

I would advise not doing it. Personally, I will not do this operation.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-105282">Andi</a>.</p>
<p>As of today, December 18 2016, prefdir is: C:\Users\admin\AppData\Roaming\MathWorks\MATLAB\R2016a</p>
<p>The content of this directory is:</p>
<pre lang="text">
18/12/2016  09:23              .
18/12/2016  09:23              ..
18/12/2016  10:51             1ÿ291 publish_configurations.m
18/12/2016  10:51               220 run_commands.m
18/12/2016  09:14         1ÿ817ÿ222 History.bak
18/12/2016  11:01         1ÿ817ÿ797 History.xml
18/12/2016  10:49             4ÿ668 matlab.prf
18/12/2016  09:23            18ÿ143 matlab.settings
18/12/2016  11:01            10ÿ081 MATLABDesktop.xml
18/12/2016  09:20             9ÿ092 MATLABDesktop.xml.prev
18/12/2016  09:20             7ÿ420 MATLAB_Editor_State.xml
14/04/2016  18:30             4ÿ130 comparisons.settings
07/04/2016  09:03                 0 creation.timestamp
10/03/2016  12:44               731 dastudio.prf
24/03/2016  20:42             2ÿ040 database.settings
07/04/2016  09:03              HtmlPanel
10/03/2016  10:14                87 javaclasspath.txt
19/10/2016  10:23               618 matlabprefs.mat
29/07/2015  09:37             8ÿ963 MBUILD_C_win64.xml
29/07/2015  09:37             8ÿ978 mex_C++_win64.xml
03/09/2015  19:50             8ÿ521 mex_C_win64.xml
22/02/2016  10:44                40 MLintDefaultSettings.txt
07/04/2016  09:13             1ÿ298 mwKeyStore
07/04/2016  09:13             6ÿ144 parallel.settings
27/01/2016  22:38               201 shortcuts_2.xml
10/03/2016  12:29               138 systemtest.cfg
07/04/2016  09:13               772 thisMatlab.pem
</pre>
<p>I would advise not doing it. Personally, I will not do this operation.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: dariush		</title>
		<link>https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-357558</link>

		<dc:creator><![CDATA[dariush]]></dc:creator>
		<pubDate>Thu, 24 Sep 2015 00:14:57 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3085#comment-357558</guid>

					<description><![CDATA[Hi Yair. 
I wrote a fairly complex GUI in R2014b and i have the problem of very slow startup. Could you please explain a little more on the solution you mentioned here. What steps should i take to set MCR_CACHE_ROOT and so on? Where can i set this options?]]></description>
			<content:encoded><![CDATA[<p>Hi Yair.<br />
I wrote a fairly complex GUI in R2014b and i have the problem of very slow startup. Could you please explain a little more on the solution you mentioned here. What steps should i take to set MCR_CACHE_ROOT and so on? Where can i set this options?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Deployed Matlab application using significantly more memory than Matlab scripts &#124; Ngoding		</title>
		<link>https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-338056</link>

		<dc:creator><![CDATA[Deployed Matlab application using significantly more memory than Matlab scripts &#124; Ngoding]]></dc:creator>
		<pubDate>Wed, 19 Nov 2014 12:50:49 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3085#comment-338056</guid>

					<description><![CDATA[[...] archive and startup the MCR runtime, just like the delay you see when you start the MATLAB IDE): undocumentedmatlab.com/blog/speeding-up-compiled-apps-startup. &#8211;&#160; Amro Jun 28 &#039;13 at [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] archive and startup the MCR runtime, just like the delay you see when you start the MATLAB IDE): undocumentedmatlab.com/blog/speeding-up-compiled-apps-startup. &ndash;&nbsp; Amro Jun 28 &#039;13 at [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Clayton Chu		</title>
		<link>https://undocumentedmatlab.com/articles/speeding-up-compiled-apps-startup#comment-323825</link>

		<dc:creator><![CDATA[Clayton Chu]]></dc:creator>
		<pubDate>Mon, 28 Apr 2014 21:32:34 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3085#comment-323825</guid>

					<description><![CDATA[Hi Yair -

I was wondering if this long start-up time still exists in MATLAB R2013b or newer. They switched to a shiny new deploytool, but I wonder if anything was done on the backend to improve startup time. It looks like MATLAB Compiler jumped from v4.18.1 to v5.0 between R2013a and R2013b.]]></description>
			<content:encoded><![CDATA[<p>Hi Yair &#8211;</p>
<p>I was wondering if this long start-up time still exists in MATLAB R2013b or newer. They switched to a shiny new deploytool, but I wonder if anything was done on the backend to improve startup time. It looks like MATLAB Compiler jumped from v4.18.1 to v5.0 between R2013a and R2013b.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
