How to generate a standalone application, which uses python functions?

조회 수: 6 (최근 30일)
David Seehaus
David Seehaus 2020년 7월 9일
댓글: Giancarlo Meccariello 2021년 3월 4일
I want to generate a standalone application with the Matlab "Application Compiler". The "Application Compiler" generates the executable and i can run the executable until my program tries to call a python function. Then the error "Unable to resolve the name py.slicer.deleteTMP" occurs.
If I run my program in Matlab I have no problems and I also included my "slicer.py" Python code file into the list of "Files required for your application to run".
I am using Matlab 9.8 and MATLAB Compiler 10.1 both from the R2020a Release.

답변 (1개)

Anmol Dhiman
Anmol Dhiman 2020년 11월 5일
Hi David,
Refer to the below link
Also there is a similar answer.
Regards,
Anmol Dhiman

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by