<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Examples</title><link>https://sourceforge.net/p/pymatlab/wiki/Examples/</link><description>Recent changes to Examples</description><atom:link href="https://sourceforge.net/p/pymatlab/wiki/Examples/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 07 Feb 2014 12:28:40 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pymatlab/wiki/Examples/feed" rel="self" type="application/rss+xml"/><item><title>Examples modified by Joakim Möller</title><link>https://sourceforge.net/p/pymatlab/wiki/Examples/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -2,6 +2,17 @@
 ========

 Some examples of how to use pymatlab.
+
+Running the tests in Linux
+---------------------------
+
+If you don't have the matlab executable in you path, add it to the path first.
+
+    $ export PATH=/opt/MATLAB/R2013a/bin:$PATH 
+
+Runt the tests.
+
+    $ python setup.py test

 Get a variable from Matlab
 --------------------------
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joakim Möller</dc:creator><pubDate>Fri, 07 Feb 2014 12:28:40 -0000</pubDate><guid>https://sourceforge.net7e552d74bc1887e142d429fa5ce4e63bd2c62411</guid></item><item><title>Examples modified by Joakim Möller</title><link>https://sourceforge.net/p/pymatlab/wiki/Examples/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -3,8 +3,21 @@

 Some examples of how to use pymatlab.

-  :::python
-  # import pymatlab
-  # matlab_session = pymatlab.session_factory()
-  # matlab_session.run('A = randn(4)')
-  # a = matlab_session.get('A')
+Get a variable from Matlab
+--------------------------
+
+    :::python
+    import pymatlab
+    matlab_session = pymatlab.session_factory()
+    matlab_session.run('A = randn(4)')
+    a = matlab_session.getvalue('A')
+
+Transfer a ndarray to MATLAB's workspace
+----------------------------------------
+
+    :::python
+    import pymatlab
+    import numpy
+    matlab_session = pymatlab.session_factory()
+    a = numpy.random.randn(4,4)
+    matlab_session.putvalue('A',a)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joakim Möller</dc:creator><pubDate>Thu, 24 Oct 2013 15:35:06 -0000</pubDate><guid>https://sourceforge.netdae0979e5dfcf361cd280c268097622366222828</guid></item><item><title>Examples modified by Joakim Möller</title><link>https://sourceforge.net/p/pymatlab/wiki/Examples/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="examples"&gt;Examples&lt;/h1&gt;
&lt;p&gt;Some examples of how to use pymatlab.&lt;/p&gt;
&lt;p&gt;:::python&lt;br /&gt;
  # import pymatlab&lt;br /&gt;
  # matlab_session = pymatlab.session_factory()&lt;br /&gt;
  # matlab_session.run('A = randn(4)')&lt;br /&gt;
  # a = matlab_session.get('A')&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Joakim Möller</dc:creator><pubDate>Thu, 24 Oct 2013 15:29:50 -0000</pubDate><guid>https://sourceforge.net276fcc4a87771683a346378b0b8a452a77d5885a</guid></item></channel></rss>