フィルターのクリア

How to run Matlab from python to run an m.file in a specific folder?

2 ビュー (過去 30 日間)
farzad
farzad 2019 年 6 月 24 日
コメント済み: Niko L. Ciminelli 2022 年 7 月 15 日
Hi All
there is a tutorial on how to run matlab from python , but it does not say how to run an .m file from a specific folder, I mean that after starting matlab engine, how to tell matlab from python to start from a specific folder ?
  2 件のコメント
Bob Thompson
Bob Thompson 2019 年 6 月 24 日
I do not know how to run matlab through python, but I do know that in Matlab you set which folder you want to run in by selecting the 'Current Folder', and you can change that by using the cd command in the command window.
Not sure if that is going to help at all.
Niko L. Ciminelli
Niko L. Ciminelli 2022 年 7 月 15 日
I am having the same issue but I know we can do this from matlab.egine API

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by