MATLAB Compiler SDK™provides Python methods to initializeMATLAB Runtime, invoke compiled MATLAB functions, and manage data that is passed between the Python code and MATLAB Runtime.
You cannot package MATLAB code that uses the MATLAB Python interface.
Generate a Python Package and Build a Python Application
Create a Python package in MATLAB and implement it with sample Python driver code.
Import Compiled Python Packages
Import compiled Python packages containing MATLAB functions into Python
Invoke a Packaged MATLAB Function
Ways to invoke a compiled MATLAB function in Python
Invoke a Compiled MATLAB Function Asynchronously
异步调用MATLAB编译函数that uses the Python object.
Pass Data Between MATLAB and Python
Learn how MATLAB converts data between Python and MATLAB data types.
Create MATLAB Arrays in Python
Create MATLAB numeric arrays in a Python session using array classes.
Example illustrating how to use MATLAB data types in a Python application