<?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: Matlab installation woes	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/matlab-installation-woes/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/matlab-installation-woes?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=matlab-installation-woes</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Wed, 15 May 2013 17:43:10 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-202487</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 15 May 2013 17:43:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2425#comment-202487</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-199815&quot;&gt;Valeria&lt;/a&gt;.

@Valeria - there is no &quot;silver bullet&quot; for this problem. It could be due to many different reasons. I suggest that you contact support@mathworks.com]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-199815">Valeria</a>.</p>
<p>@Valeria &#8211; there is no &#8220;silver bullet&#8221; for this problem. It could be due to many different reasons. I suggest that you contact <a href="mailto:support@mathworks.com">support@mathworks.com</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Valeria		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-199815</link>

		<dc:creator><![CDATA[Valeria]]></dc:creator>
		<pubDate>Thu, 09 May 2013 11:01:44 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2425#comment-199815</guid>

					<description><![CDATA[Thank you very much for posting this, am an elccarietl engineering student too n this solves just 1 of my problems. Before i applied this neat trick, matlab 7 wasn&#039;t even opening on my manchine, now it opens n i get to see it briefly about 2 seconds then it closes itself. Am on an X64 AMD machine n i think that is the problem. Could you know of a work around to this? I&#039;ll appreciate any help]]></description>
			<content:encoded><![CDATA[<p>Thank you very much for posting this, am an elccarietl engineering student too n this solves just 1 of my problems. Before i applied this neat trick, matlab 7 wasn&#8217;t even opening on my manchine, now it opens n i get to see it briefly about 2 seconds then it closes itself. Am on an X64 AMD machine n i think that is the problem. Could you know of a work around to this? I&#8217;ll appreciate any help</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Matlab installation take 2 &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-108784</link>

		<dc:creator><![CDATA[Matlab installation take 2 &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 12 Sep 2012 13:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2425#comment-108784</guid>

					<description><![CDATA[[...] I won&#039;t bother repeating the list that I published here exactly one year ago [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] I won&#8217;t bother repeating the list that I published here exactly one year ago [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-56373</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Fri, 09 Sep 2011 05:40:58 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2425#comment-56373</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-56286&quot;&gt;Michelle Hirsch&lt;/a&gt;.

@Michelle - Thanks for your follow-up. The items I listed above are a minor inconvenience rather than cause of actual grief... Perhaps the term &quot;woes&quot; in the title was an exaggeration. On the other hand, I rarely have a chance to use this term in day-to-day, and it had a nice ring to it, and article titles do need to attract the eye...

Anyway, running the pre-release exe directly from its bin folder doesn&#039;t work. It&#039;s the first thing I tried upon discovering that all my old Start-menu shortcuts have been deleted by the new R2011b installation. When you run the pre-release exe it simply launches the the new R2011b executable. I&#039;m guessing that some important Windows registry key has been overwritten by the new installer. The bottom line is that while the PR is still &quot;installed&quot; on my computer, it cannot in fact be run. This is a moot point now, as the PR expiration date has now passed, but I think it should be investigated to determine whether there is any bug in there that could have a wider effect. For example, what happens when we get a service-pack release as last year? - will the original (&quot;SP0&quot;) not be accessible any longer? If so, this could be troublesome. Let the user decide if they want to overwrite the existing version or not. Matlab users are smart enough to design rockets and cars, surely they can manage this decision.

Path - I am not sure why this happened. Perhaps because of the pre-release vs. Prod versions mixup that caused the previous issue.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-56286">Michelle Hirsch</a>.</p>
<p>@Michelle &#8211; Thanks for your follow-up. The items I listed above are a minor inconvenience rather than cause of actual grief&#8230; Perhaps the term &#8220;woes&#8221; in the title was an exaggeration. On the other hand, I rarely have a chance to use this term in day-to-day, and it had a nice ring to it, and article titles do need to attract the eye&#8230;</p>
<p>Anyway, running the pre-release exe directly from its bin folder doesn&#8217;t work. It&#8217;s the first thing I tried upon discovering that all my old Start-menu shortcuts have been deleted by the new R2011b installation. When you run the pre-release exe it simply launches the the new R2011b executable. I&#8217;m guessing that some important Windows registry key has been overwritten by the new installer. The bottom line is that while the PR is still &#8220;installed&#8221; on my computer, it cannot in fact be run. This is a moot point now, as the PR expiration date has now passed, but I think it should be investigated to determine whether there is any bug in there that could have a wider effect. For example, what happens when we get a service-pack release as last year? &#8211; will the original (&#8220;SP0&#8221;) not be accessible any longer? If so, this could be troublesome. Let the user decide if they want to overwrite the existing version or not. Matlab users are smart enough to design rockets and cars, surely they can manage this decision.</p>
<p>Path &#8211; I am not sure why this happened. Perhaps because of the pre-release vs. Prod versions mixup that caused the previous issue.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Michelle Hirsch		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-56286</link>

		<dc:creator><![CDATA[Michelle Hirsch]]></dc:creator>
		<pubDate>Thu, 08 Sep 2011 07:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2425#comment-56286</guid>

					<description><![CDATA[Yair - sorry for the grief you&#039;ve had getting 11b up and running on your machine.  I&#039;ve poked around a bit, and can comment on a few of the issues you&#039;ve mentioned:

Bootstrap loader: we&#039;ve seen this issue occasionally, too.  We&#039;ve made sure that the development team knows that it&#039;s still happening.  

Installing Japanese doc: We are aware that this is unnecessary and hope to be able to address it to reduce download sizes/times for our users.

Running prerelease after installing general release: I&#039;m not sure what issues you are finding here. Our installer doesn&#039;t touch the existing prerelease installation when installing the general release.  We do point the operating system to the latest release, so that shortcuts, add/remove programs, etc. find the latest release.  You should be able to run the prerelease by running MATLAB.exe directly from the bin dir (or making a new shortcut to it).

path: I&#039;m a bit puzzled about your path issue, too.  We don&#039;t migrate path from release to release (this is actually something I&#039;d like to see changed), so the only way I see this happening is if you have your new MATLAB intentionally pointing to your old pathdef.m.  The default locations for pathdef.m are in release-specific folders.  I&#039;m sure I&#039;m missing something, so please clarify if I am.]]></description>
			<content:encoded><![CDATA[<p>Yair &#8211; sorry for the grief you&#8217;ve had getting 11b up and running on your machine.  I&#8217;ve poked around a bit, and can comment on a few of the issues you&#8217;ve mentioned:</p>
<p>Bootstrap loader: we&#8217;ve seen this issue occasionally, too.  We&#8217;ve made sure that the development team knows that it&#8217;s still happening.  </p>
<p>Installing Japanese doc: We are aware that this is unnecessary and hope to be able to address it to reduce download sizes/times for our users.</p>
<p>Running prerelease after installing general release: I&#8217;m not sure what issues you are finding here. Our installer doesn&#8217;t touch the existing prerelease installation when installing the general release.  We do point the operating system to the latest release, so that shortcuts, add/remove programs, etc. find the latest release.  You should be able to run the prerelease by running MATLAB.exe directly from the bin dir (or making a new shortcut to it).</p>
<p>path: I&#8217;m a bit puzzled about your path issue, too.  We don&#8217;t migrate path from release to release (this is actually something I&#8217;d like to see changed), so the only way I see this happening is if you have your new MATLAB intentionally pointing to your old pathdef.m.  The default locations for pathdef.m are in release-specific folders.  I&#8217;m sure I&#8217;m missing something, so please clarify if I am.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Helge		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-56166</link>

		<dc:creator><![CDATA[Helge]]></dc:creator>
		<pubDate>Wed, 07 Sep 2011 17:21:25 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2425#comment-56166</guid>

					<description><![CDATA[
Thanks again for checking/reporting the tweaks and fixes we need to get our Matlab running as we expect it to do.
This inspired me to share some rather general comments:


For people who need to update or reinstall Matlab frequently, it may be useful to create their own &quot;checkinstall.m&quot; script. Some of my toolboxes have such a checkinstall.m, mainly to check/fix missing or interfering path extensions, pathdef, classpath etc in case that the toolbox needs M-files, MEX-files or libraries elsewhere on the path, but also to setup/clear persistent and global variables and doing some set(0,&#039;Default...&#039;,stuff). However, I did not yet need a global checkinstall.m for Matlab itself, and I did never go so far and copy/move/delete or dynamically rewrite critical files on hard disk automatically (see, e.g., savepath.m, update_toolbox_cache.m). Since my checkinstall.m files are all highly project-specific, it would not make much sense to upload them anywhere. The point I want to make here is:


It can save lots of future work to copy+paste some code from matlabrc.m, hgrc.m, pathdef.m, classpath.txt and others, learn about the ressources used there, and remix all this to create your own checkinstall.m, init.m, startuser.m or whatever you may call it. Of course, one can also edit any toolbox/local/*.* file directly, at least if it does not make one mad to fix a dozen of core Matlab files manually twice a year, always taking care that nothing important gets lost. Hence, I would always try to fix setup issues by user/project specific path automation scripts which are executed only on demand.
Neverthesess, I always found it quite conclusive to load the matlabrc.m and alike functions into an editor and compare them with older versions. Changes in these functions may reveal more about new features than one would find in the official Matlab release notes.


Of course, the above recommendations are clearly a matter of personal taste, and some issues are definitely awkward to solve by purely project/toolbox specific scripting. But finally, although a manually or automatically patched Matlab installation may be much more convenient and performant on the programmer&#039;s single-user machine, one should never forget that such tweaks can easily turn into severe flaws: (1) My M-code may possibly not run as intended on other systems; and I suppose most customers won&#039;t like me to tell them that something is wrong with their Matlab/Java. (2) After pimping my Matlab, how could I even test whether my code is still suitable for other users?


I hope I made clear that I do not citicize but rather appreciate anybody who thoroughly investigates and understands post-installation issues, specifically those who know where fixes are mandatory, optional, or even dangerous. However, take care!
]]></description>
			<content:encoded><![CDATA[<p>Thanks again for checking/reporting the tweaks and fixes we need to get our Matlab running as we expect it to do.<br />
This inspired me to share some rather general comments:</p>
<p>For people who need to update or reinstall Matlab frequently, it may be useful to create their own &#8220;checkinstall.m&#8221; script. Some of my toolboxes have such a checkinstall.m, mainly to check/fix missing or interfering path extensions, pathdef, classpath etc in case that the toolbox needs M-files, MEX-files or libraries elsewhere on the path, but also to setup/clear persistent and global variables and doing some set(0,&#8217;Default&#8230;&#8217;,stuff). However, I did not yet need a global checkinstall.m for Matlab itself, and I did never go so far and copy/move/delete or dynamically rewrite critical files on hard disk automatically (see, e.g., savepath.m, update_toolbox_cache.m). Since my checkinstall.m files are all highly project-specific, it would not make much sense to upload them anywhere. The point I want to make here is:</p>
<p>It can save lots of future work to copy+paste some code from matlabrc.m, hgrc.m, pathdef.m, classpath.txt and others, learn about the ressources used there, and remix all this to create your own checkinstall.m, init.m, startuser.m or whatever you may call it. Of course, one can also edit any toolbox/local/*.* file directly, at least if it does not make one mad to fix a dozen of core Matlab files manually twice a year, always taking care that nothing important gets lost. Hence, I would always try to fix setup issues by user/project specific path automation scripts which are executed only on demand.<br />
Neverthesess, I always found it quite conclusive to load the matlabrc.m and alike functions into an editor and compare them with older versions. Changes in these functions may reveal more about new features than one would find in the official Matlab release notes.</p>
<p>Of course, the above recommendations are clearly a matter of personal taste, and some issues are definitely awkward to solve by purely project/toolbox specific scripting. But finally, although a manually or automatically patched Matlab installation may be much more convenient and performant on the programmer&#8217;s single-user machine, one should never forget that such tweaks can easily turn into severe flaws: (1) My M-code may possibly not run as intended on other systems; and I suppose most customers won&#8217;t like me to tell them that something is wrong with their Matlab/Java. (2) After pimping my Matlab, how could I even test whether my code is still suitable for other users?</p>
<p>I hope I made clear that I do not citicize but rather appreciate anybody who thoroughly investigates and understands post-installation issues, specifically those who know where fixes are mandatory, optional, or even dangerous. However, take care!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: James Myatt		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-56030</link>

		<dc:creator><![CDATA[James Myatt]]></dc:creator>
		<pubDate>Tue, 06 Sep 2011 10:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2425#comment-56030</guid>

					<description><![CDATA[For what it&#039;s worth, I have no trouble with the bootstrap loader in Chrome. I think it&#039;s more of a Firefox issue.]]></description>
			<content:encoded><![CDATA[<p>For what it&#8217;s worth, I have no trouble with the bootstrap loader in Chrome. I think it&#8217;s more of a Firefox issue.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Donn Shull		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-55978</link>

		<dc:creator><![CDATA[Donn Shull]]></dc:creator>
		<pubDate>Mon, 05 Sep 2011 19:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2425#comment-55978</guid>

					<description><![CDATA[One undocumented tip for people who are not afraid of changing things in the MATLAB installation directories is to create *.phl files for your MATLAB path additions. When you install a new version of MATLAB copy these phl files to $matlabroot$/toolbox/local/path. Then issue the MATLAB command restoredefaultpath followed by savepath and your additions will be included in the path. There is phl file for every toolbox you have installed to use as examples.]]></description>
			<content:encoded><![CDATA[<p>One undocumented tip for people who are not afraid of changing things in the MATLAB installation directories is to create *.phl files for your MATLAB path additions. When you install a new version of MATLAB copy these phl files to $matlabroot$/toolbox/local/path. Then issue the MATLAB command restoredefaultpath followed by savepath and your additions will be included in the path. There is phl file for every toolbox you have installed to use as examples.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Alexander Kosenkov		</title>
		<link>https://undocumentedmatlab.com/articles/matlab-installation-woes#comment-55701</link>

		<dc:creator><![CDATA[Alexander Kosenkov]]></dc:creator>
		<pubDate>Fri, 02 Sep 2011 19:33:40 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=2425#comment-55701</guid>

					<description><![CDATA[Thank you for sharing your experience!

Just in case you missed it:
&lt;pre lang=&quot;matlab&quot;&gt;
% similar to your findjobj.m
com.mathworks.xwidgets.desktopexamples.UIExplorerDesktop.main(&#039;&#039;); 

% amazing! just amazing
com.mathworks.xwidgets.desktopexamples.EventViewer.main(&#039;&#039;);

com.mathworks.xwidgets.desktopexamples.SystemPropertyViewer.main(&#039;&#039;);

% I would love to have such UI control
com.mathworks.xwidgets.treetableexample.TreeTableExample; 
&lt;/pre&gt;
(run line-by-line; beware, closing some of those windows shuts Matlab down)]]></description>
			<content:encoded><![CDATA[<p>Thank you for sharing your experience!</p>
<p>Just in case you missed it:</p>
<pre lang="matlab">
% similar to your findjobj.m
com.mathworks.xwidgets.desktopexamples.UIExplorerDesktop.main(''); 

% amazing! just amazing
com.mathworks.xwidgets.desktopexamples.EventViewer.main('');

com.mathworks.xwidgets.desktopexamples.SystemPropertyViewer.main('');

% I would love to have such UI control
com.mathworks.xwidgets.treetableexample.TreeTableExample; 
</pre>
<p>(run line-by-line; beware, closing some of those windows shuts Matlab down)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
