MATLAB Answers

0

Matlab Plot in python problems

Asked by Nicholas G on 18 Sep 2019
why the figure turn off automatically after it show up?
1.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.
2.But I wrote exactly the same code in pycharm,the figure will turn off automatically after it show up.

  0 Comments

Sign in to comment.

0 Answers