필터 지우기
필터 지우기

How to run an existing matlab file from Python ?

조회 수: 3 (최근 30일)
farzad
farzad 2019년 11월 22일
편집: farzad 2019년 11월 22일
Hi All
there is an example question on mathworks on how to run a matlab code from Python, but it doesn't explain how to run an existing m file.
here : first link
import matlab.engine
eng = matlab.engine.start_matlab()
eng.simple_script(nargout=0)
eng.quit()
it is not clear what simple_script is and how I can change to an existing folder.
some explanation here , but it everytime writes the code inside python from scratch :

답변 (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