MATLAB Answers

0

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

Asked by farzad on 24 Jun 2019
Latest activity Commented on by Bob Nbob
on 24 Jun 2019
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 ?

  1 Comment

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.

Sign in to comment.

0 Answers