How to convert python code to MATLAB code ?

3 views (last 30 days)
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.

Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!