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?

 Respuesta aceptada

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:

Más respuestas (0)

Categorías

Productos

Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by