Skip to content

Instantly share code, notes, and snippets.

@blink1073
Created November 1, 2014 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blink1073/adbab83457a8342f74d1 to your computer and use it in GitHub Desktop.
Save blink1073/adbab83457a8342f74d1 to your computer and use it in GitHub Desktop.
Numerical Tours Installation Instructions
<h2 id="installation">Installation</h2>
<p>You need to download <a href="https://github.com/gpeyre/numerical-tours/archive/master.zip">numerical_tours</a> and install the IPython <a href="http://ipython.org/install.html">notebook</a> to run the code.</p>
<p>You must also install the <a href="http://arokem.github.io/python-matlab-bridge/">python-matlab-bridge</a>.</p>
<p>Make sure you can run the command <code>matlab</code> from a command window (or terminal). If not, try the methods below:</p>
<p><strong>Unix-like-systems (including OSX):</strong></p>
<p>Add the following to your <code>~/.profile</code>:</p>
<p><code>export PATH=&quot;$PATH:&lt;PATH_TO_MATLAB&gt;&quot;</code></p>
<p><strong>Windows systems:</strong></p>
<p>From a CMD window:</p>
<p><code>&gt; setx PATH &quot;%PATH%;C:\PATH_TO_MATLAB.EXE&quot;</code></p>
<p>Note, if you see the message:</p>
<p>&quot;WARNING: The data being saved is truncated to 1024 characters&quot;</p>
<p>It means your PATH variable is too long. You'll have to manually trim in in the Windows Environmental Variables editor.</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment