---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
<ipython-input-7-7ab8a364cc67> in <module>()
----> 1 get_ipython().run_cell_magic(u'matlab', u'', u'imshow(F)')
/Users/arve/.virtualenvs/brew/lib/python2.7/site-packages/IPython/core/interactiveshell.pyc in run_cell_magic(self, magic_name, line, cell)
2160 magic_arg_s = self.var_expand(line, stack_depth)
2161 with self.builtin_trap:
-> 2162 result = fn(magic_arg_s, cell)
2163 return result
2164
/Users/arve/.virtualenvs/brew/lib/python2.7/site-packages/pymatbridge/matlab_magic.pyc in matlab(self, line, cell, local_ns)
/Users/arve/.virtualenvs/brew/lib/python2.7/site-packages/IPython/core/magic.pyc in <lambda>(f, *a, **k)
191 # but it's overkill for just that one bit of state.
192 def magic_deco(arg):
--> 193 call = lambda f, *a, **k: f(*a, **k)
194
195 if callable(arg):
/Users/arve/.virtualenvs/brew/lib/python2.7/site-packages/pymatbridge/matlab_magic.pyc in matlab(self, line, cell, local_ns)
215 e_s += "\n-----------------------"
216 e_s += "\nAre you sure Matlab is started?"
--> 217 raise RuntimeError(e_s)
218
219
RuntimeError: There was an error running the code:
imshow(F)
-----------------------
Are you sure Matlab is started?