필터 지우기
필터 지우기

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 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