<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Imaging and a little bit of OSS &#187; software</title>
	<atom:link href="http://nuclear-imaging.info/site_content/tag/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://nuclear-imaging.info/site_content</link>
	<description>Yet another techno blog</description>
	<lastBuildDate>Wed, 09 May 2012 13:02:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Installing Matlab 2008b on 64-bit Linux</title>
		<link>http://nuclear-imaging.info/site_content/2009/02/10/installing-matlab2008b-on-64-bit-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-matlab2008b-on-64-bit-linux</link>
		<comments>http://nuclear-imaging.info/site_content/2009/02/10/installing-matlab2008b-on-64-bit-linux/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 19:08:11 +0000</pubDate>
		<dc:creator>slash_boot</dc:creator>
				<category><![CDATA[Imaging]]></category>
		<category><![CDATA[Linux and OSS]]></category>
		<category><![CDATA[non-OSS]]></category>
		<category><![CDATA[jaunty]]></category>
		<category><![CDATA[matlab 7.7]]></category>
		<category><![CDATA[matlab2008b]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://nuclear-imaging.info/site_content/?p=97</guid>
		<description><![CDATA[Recently I bought a student version of Matlab2008b. It was for Linux platform. Here&#8217;s my experience with installing the program on 64-bit Linux (Debian) architecture, what problems arose along the way and how they were addressed &#8211; with help from Mathworks tech support. Installing Matlab 7.7 (i.e. Matlab2008b) the old fashioned way was a breeze, <a href='http://nuclear-imaging.info/site_content/2009/02/10/installing-matlab2008b-on-64-bit-linux/' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Recently I bought a student version of Matlab2008b. It was for Linux platform. Here&#8217;s my experience with installing the program on 64-bit Linux (Debian) architecture, what problems arose along the way and how they were addressed &#8211; with help from Mathworks tech support.</p>
<div id="attachment_106" class="wp-caption aligncenter" style="width: 585px"><a href="http://www.gfdl.noaa.gov/products/vis/images/matlab.png" target="_blank"><img class="size-full wp-image-106" title="Matlab Screenshot" src="http://nuclear-imaging.info/site_content/wp-content/uploads/2009/02/matlab_screenshot_demo.png" alt="Matlab at work" width="575" height="403" /></a><p class="wp-caption-text">Matlab at work</p></div>
<p>Installing Matlab 7.7 (i.e. Matlab2008b) the old fashioned way was a breeze, but getting it to actually run on 64-bit architecture involved a few steps, which I didn&#8217;t know. I sent a query to Mathworks tech support saying:</p>
<blockquote><p>The installation files were able to successfully install Matlab2008b on Ubuntu 9.04 (Jaunty), however, the program failed to load since it cannot find the jre files for 64-bit architecture. Is there a workaround for running the 32-bit program on 64-bit platform?</p></blockquote>
<p>And they replied with a procedure to be followed to make that happen:</p>
<blockquote><p>Yes &#8211; here is a full walkthrough:</p>
<p>1) When running the MATLAB installer (install_unix.sh) use the -glnx86 flag.  This will allow it to install properly on a 64-bit Linux machine:</p>
<pre>./install_unix.sh -glnx86 -t</pre>
<p>2) Once the installer is finished, you will need to activate through <a href="http://mathworks.com/" target="_blank">mathworks.com</a>, as the activation client will not work properly on 64-bit computers.  To do so, follow the instructions below:</p>
<p><a href="http://www.mathworks.com/support/solutions/data/1-3YZBZ6.html?solution=1-3YZBZ6" target="_blank">http://www.mathworks.com/support/solutions/data/1-3YZBZ6.html?solution=1-3YZBZ6</a></p>
<p>3) Once MATLAB is installed and activated, you will need to run MATLAB using the same -glnx86 flag that you used to install:</p>
<pre>$MATLAB/bin/matlab -glnx86</pre>
<p>(where $MATLAB is the MATLAB installation folder)</p>
<p>NOTE: Some users have problems loading the JRE when running in this configuration.  Creating a symlink in $MATLAB/sys/java/jre named glnxa64 pointing to glnx86 should resolve this issue.  You can do this with the following command:</p>
<pre>ln -s $MATLAB/sys/java/jre/glnx86 $MATLAB/sys/java/jre/glnxa64</pre>
</blockquote>
<p>And now it works. Haven&#8217;t had any GUI crash on me yet, but it been less than an hour since I&#8217;ve been using it. One way to avoid typing <span style="color: #0000ff;"><em>matlab -glnx86</em></span> before each launch is to create a local alias.</p>
<pre>gedit ~/.bashrc</pre>
<p>Under one of the listing for aliases, you can type in:</p>
<blockquote>
<pre>alias mat='matlab -glnx86 &amp;'</pre>
</blockquote>
<p>Save and exit. Then onward, you can launch the program by simply typing in mat in the terminal.</p>
<p>In case your compiz is enabled, you might not see the menus correctly. To fix that problem, you have to run the following command at the terminal.</p>
<blockquote>
<pre>export MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre/</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://nuclear-imaging.info/site_content/2009/02/10/installing-matlab2008b-on-64-bit-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

