1

I would like to know if I am going in the right direction.

I wrote a script in python and was able to run it through Matlab. Now I would like to make it available for potential other Matlab users who do not have python installed. I wanted to make sure that I can do such a thing by compiling my python file.

Also, the compilation in python does not seem straightforward (for example, making a dll How to compile a Python package to a dll extending python with C) and potentially, there are some other solutions to my problem that I would be happy to investigate.

thank you for your help

ps : if it matters, my python script is using TensorFlow, sklearn, numpy, scipy, pandas

seb
  • 11
  • 1
  • Maybe you want a Python "frozen binary" – a program that packages up both your Python code and the Python interpreter itself into a single executable. https://docs.python-guide.org/shipping/freezing/ Maybe there are tools that can build frozen binaries as DLLs. – Andrew Janke Sep 18 '21 at 16:48

0 Answers0