Integrate a Python Package
To integrate a MATLAB® Compiler SDK™ Python® Package:
Install the compiled Python Package.
In consultation with the MATLAB programmer, collect the MATLAB function signatures that comprise the services in the application.
Import the compiled Python package.
Write the Python code to initialize the MATLAB Runtime, and load the MATLAB code.
Create the required MATLAB data for function inputs and outputs.
See matlab Python Module.
Invoke the MATLAB functions.
See Invoke a Packaged MATLAB Function or Invoke a Compiled MATLAB Function Asynchronously.
Terminate each package using its
terminate()
function. If you do not call this function explicitly, it is called automatically when the program exits.