Matlab Plot in python problems

조회 수: 1 (최근 30일)
Nicholas G
Nicholas G 2019년 9월 18일
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개)

카테고리

Help CenterFile Exchange에서 Call MATLAB from Python에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by