Can the App Designer package standalone apps that depend on Python files?

I would like to include Python files in a standalone app created and compiled from App Designer. Is this possible?

 採用された回答

MathWorks Support Team
MathWorks Support Team 2023 年 11 月 28 日

1 投票

Yes. Compiling standalone applications from App Designer supports this workflow.
 
In order to do so you simply need to make sure the following requirements are satisfied:
  • The necessary Python files are added to the app's list of required files in App Designer
  • A compatible version of python is installed on the computer that will be running the deployed application
  • The deployed application points to the correct Python environment. This can be done, for example, by providing the user an option to set the default python version with the function "pyenv". 
Please see the following documentation on using "pyenv" to configure the python environment:

その他の回答 (0 件)

カテゴリ

製品

リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by