Main Content

myDeployedModule.initialize

Python module to initialize package and return a handle

Description

myobj = myDeployedModule.initialize() initializes a package consisting of one or more deployed MATLAB® functions. The return value is used as a handle on which any of the functions can be executed.

Examples

collapse all

This example shows how to create a handle to a package named myDeployedModule. This handle is then used for calling a deployed MATLAB function called makesqr.

import myDeployedModule

myobj = myDeployedModule.initialize()

print(myobj.makesqr(3))

myobj.terminate()

Output Arguments

collapse all

Output a handle to deployed MATLAB functions, returned as a Python object used to execute deployed MATLAB functions.