Compilation fig in exe file with python script

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

MATLAB Compiler is not going to bundle in any necessary python infrastructure.
Igor
Igor 2023년 8월 6일
Walter, thanks for your reply. But is there any way to compile such a program into an .exe file? if for example separately to install a python?
Rik
Rik 2023년 8월 7일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Python Package Integration에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2023년 8월 6일

댓글:

Rik
2023년 8월 7일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by