MATLAB in Python problems
Recently I came to learn python to use it in MATLAB from a learn python tutorial. The figure turned off automatically after it showed up. Can anyone tell me whats the probable reason for this?
I wrote a simple code through cmd in windows:
import matlab.engine
eng=matlab.engine.start_matlab()
eng.plot(1.0,2.0,nargout=0)
It works well.
But I wrote exactly the same code in pycharm, the figure turned off automatically after it showed up.Recently I came to learn python to use it in MATLAB from a learn python tutorial. The figure turned off automatically after it showed up. Can anyone tell me whats the probable reason for this?
I wrote a simple code through cmd in windows:
import matlab.engine
eng=matlab.engine.start_matlab()
eng.plot(1.0,2.0,nargout=0)
It works well.
But I wrote exactly the same code in pycharm, the figure turned off automatically after it showed up. Recently I came to learn python to use it in MATLAB from a learn python tutorial. The figure turned off automatically after it showed up. Can anyone tell me whats the probable reason for this?
I wrote a simple code through cmd in windows:
import matlab.engine
eng=matlab.engine.start_matlab()
eng.plot(1.0,2.0,nargout=0)
It works well.
But I wrote exactly the same code in pycharm, the figure turned off automatically after it showed up. python, coding MATLAB Answers — New Questions