MATLAB Engine for python
조회 수: 9 (최근 30일)
이전 댓글 표시
I have successfully installed matlab.engine module in python.
But, i want to open a matlab file which is not in the same folder as that of python code. How to add path of such remote file and open it using matlab engine in python?
댓글 수: 0
답변 (2개)
Manu Manuel
2020년 3월 6일
편집: Manu Manuel
2020년 3월 6일
path = # specify your path
eng.addpath (path, nargout= 0 )
댓글 수: 1
Athul Prakash
2020년 10월 30일
You may combine genpath with addpath to add the folder with all its subfolders too.
Sometimes, just eng.cd can be a good alternative.
참고 항목
카테고리
Help Center 및 File Exchange에서 Call MATLAB from Python에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!