Compilation fig in exe file with python script
Show older comments
Hi! I got the following problem:
there is a fig file with a graphical interface made in guide that performs calculations, writes some data to separate text files in the bin folder (in the code, the paths to them are relative), and also saves pictures (in png) and a spreadsheet in excel in a separate folder (the path to it is absolute), and after that, it runs a python script that takes data from text files, pictures and tables, and based on this creates a pdf report. The py-script itself is also located in the bin folder.
Is it possible to compile all this into an exe-application that will run on another PC without Matlab and Python installed?
I tried to do it through Runtime, but the program does not start after compilation.
Version of Matlab - 2018a
Thank you all very much for your ideas and comments.
3 Comments
Walter Roberson
on 6 Aug 2023
MATLAB Compiler is not going to bundle in any necessary python infrastructure.
Igor
on 6 Aug 2023
Rik
on 7 Aug 2023
There are probably portable runtimes for Python. You could check if that will do what you need if you add those as files to your project.
Answers (0)
Categories
Find more on Python Package Integration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!