Home How to run a matlab exe which contains python commands from another python code?
Reply: 0

How to run a matlab exe which contains python commands from another python code?

user764
1#
user764 Published in April 25, 2018, 10:52 am

I have a Matlab code which calls some python modules. I made an exe from this Matlab code (let's call it pipeMe.exe) now I'm trying to run pipeMe.exe from another python code in another machine of course but apparently, it can't set the python version executable path from the second machine, thus it gives me this error:

Undefined variable "py" or class "py.sys.path".

Is there any way that I can set the pyversion executable from outside of Matlab while I run pipeMe.exe ? Or is there any possibility to set the pyversion executable path to a path that is accessible from both machines, and I just have to set it at the beginning of my pipeMe matlab code?

Thanks in advance for your help.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.349436 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO