How to convert python code to MATLAB code ?

5 次查看(过去 30 天)
Is there a way to convert my python code to MATLAB code in order to package it into exe file using MATLAB compiler ?
I tried calling my python script from MATLAB script then generate exe using MATLAB compiler and add the python file in the Files required for your application to run but the generated exe needs the python file to be included in the python path variable and is not packaged with it.
If there is a way to package python file with matlab file into one exe where the matlab code is the main code and calls functions from python without converting the python file to matlab it would be great too.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by