can I build python package and run it on another laptop that doesn't have MATLAB installed on it?
조회 수: 3 (최근 30일)
이전 댓글 표시
I have python code that does some proccesing and then send the data to matlab using matlabengine to do some other proccesing, but this is not effiecnet for me as I need to run the code on other PCs or on cloud. So is there anyway to use my matlab function on python without having matlab installed? I thought of building package but I still need matlab to run it.
thank you
댓글 수: 0
답변 (1개)
Aditya Jha
2022년 11월 16일
Hi!
There are two approaches for calling MATLAB code from Python.
The first is to use the MATLAB Engine API for Python, which requires a MATLAB install. The second is to use MATLAB Compiler SDK to compile a Python package that does not require users to have a MATLAB install.
Refer to the following video that illustrates both the methods:
Additionally, refer to the following documentation that uses MATLAB runtime to build python package and generate a python application
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Python Package Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!