You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pymatbridge starting but exhibiting weird behavior #253
I am trying to load up the pymatbridge package into Spyder IDE using the following Ipython and following recommended usage:
In [1]: from pymatbridge import Matlab
C:\Anaconda\lib\site-packages\IPython\nbformat.py:13: ShimWarning: The `IPython.nbformat` package has been deprecated since IPython 4.0. You should import from nbformat instead.
"You should import from nbformat instead.", ShimWarning)
In [2] : mlab = Matlab()
In [3] : mlab.start()
Starting MATLAB on ZMQ socket tcp://127.0.0.1:60171
Send 'exit' command to kill the server
....MATLAB started and connected!
Out[3]: <pymatbridge.pymatbridge.Matlab at 0xc557748>
This opens a tiny non maximizable window which carries the matlab logo but does absolutely nothing:
Since, again following usage, the following code:
%%matlab
a = linspace(0.01,6*pi,100);
plot(sin(a))
grid on
hold on
plot(cos(a),'r')
Does not open up a plot as it should. What is going on here and how can I get pymatbridge to work properly?
Activity
arokem commentedon Jun 18, 2017
Does this work for you outside of Spyder (e.g., in an interactive Python session)?
I am not sure, but it might be some interaction with the IDE.