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 件のコメント

Walter Roberson
Walter Roberson 2023 年 8 月 6 日
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 ExchangePython 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