フィルターのクリア

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 Center および File ExchangeCall MATLAB from Python についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by