-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Description
Hi, all
My platform is
- Windows 7 64bit
- Python 2.7.8 64bit
- IPython 2.3.1
- Matlab 2011a 64bit
- Visual Studio 2010
I download the master source code, comment the win32 test out and, after installing, build the messenger "messenger.mexw64" myself using mex.
I run the following code:
from pymatbridge import Matlab
mlab = Matlab()
mlab.start()
results = mlab.run_code('a=1;')
print(results)
mlab.stop()
It works. Here is the output:
Starting MATLAB on ZMQ socket tcp://127.0.0.1:55555
Send 'exit' command to kill the server
...MATLAB started and connected!
{u'content': {u'datadir': u'C:\\Users\\Admin\\AppData\\Local\\Temp\\MatlabData\\', u'code': u'a=1;', u'figures': [], u'stdout': u''}, u'success': u'true'}
MATLAB closed
But when I use it in the IPython notebook, it shows
In [2]: %load_ext pymatbridge
The pymatbridge module is not an IPython extension.
Does anyone have a clue?
Best
Metadata
Metadata
Assignees
Labels
No labels