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

4 次查看(过去 30 天)
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by