<?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>scienceoss.com &#187; matlab</title>
	<atom:link href="http://scienceoss.com/categories/matlab/feed/" rel="self" type="application/rss+xml" />
	<link>http://scienceoss.com</link>
	<description>useful tidbits for using open source software in science</description>
	<lastBuildDate>Wed, 26 May 2010 03:34:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Run a Matlab script from the shell or from another program</title>
		<link>http://scienceoss.com/run-a-matlab-script-from-the-shell-or-from-another-program/</link>
		<comments>http://scienceoss.com/run-a-matlab-script-from-the-shell-or-from-another-program/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 14:55:29 +0000</pubDate>
		<dc:creator>ryan</dc:creator>
				<category><![CDATA[matlab]]></category>
		<category><![CDATA[batch mode]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://scienceoss.com/run-a-matlab-script-from-the-shell-or-from-another-program/</guid>
		<description><![CDATA[Yeah, I know Matlab is not open source, but this is useful to know anyway: You can run Matlab in batch mode and pass a script to it from the system shell. If the m-file xyz.m is in the current directory, then run it from the system shell with: matlab -nodesktop -nosplash -nojvm -r "xyz" [...]]]></description>
			<content:encoded><![CDATA[<p>Yeah, I know Matlab is not open source, but this is useful to know anyway:</p>
<p>You can run Matlab in batch mode and pass a script to it from the system shell.  If the m-file <span class="c">xyz.m</span> is in the current directory, then run it from the system shell with:</p>
<pre class="prettyprint"><code class="code">matlab -nodesktop -nosplash -nojvm -r "xyz"</code></pre>
<p>Note that there is no <span class="c">.m</span> extension on <span class="c">xyz</span> in this command . . . if you do put the extension you will get an error, &#8220;<span class="c">??? Undefined variable &#8220;xyz&#8221;" or class &#8220;xyz.m&#8221;.</span>&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://scienceoss.com/run-a-matlab-script-from-the-shell-or-from-another-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

